async discover(query: str, limit: int = 20, session_id: str | None = None, view: Literal['routing', 'full'] | None = None, lang: Literal['zh', 'en'] | None = None, timeout: float | None = None, correlation_id: str | None = None) → SearchResponse
Discover capabilities using natural language.
- 参数:
- query -- Natural-language description of the capability you want (not parameters). Example: "weather forecast API" or "search recent news".
- limit -- Maximum number of tools to return (server may cap this).
- session_id -- Optional correlation id.
- view -- Optional response projection. Omit for the legacy/full response.
- lang -- Optional response language; omit for server-side negotiation.
- 返回: SearchResponse containing results (tools) and search_id used for execution.
