pub struct CatalogSearchRequest {
pub contract: CatalogClientContract,
pub kinds: Option<Vec<CatalogCandidateKind>>,
pub limit: Option<i32>,
pub page: Option<CatalogSearchPage>,
pub query: String,
}Expand description
A bounded catalog search. Both the query length and the result count are capped by the schema so a caller cannot request an unbounded scan.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§contract: CatalogClientContractProtocol version and capabilities the caller requires.
kinds: Option<Vec<CatalogCandidateKind>>Restrict results to these candidate kinds. Agent Plugins are opt-in and require the agent-plugin-discovery capability so protocol-v3 clients generated before that variant cannot receive an unknown result; when omitted, the backwards-compatible MCP server and AI skill kinds are searched.
limit: Option<i32>Maximum number of candidates to return. Defaults to 10 when omitted.
page: Option<CatalogSearchPage>Numbered navigation using metadata from an earlier response. Requires catalog-search-pagination and the same query, kinds and effective limit. Omit for a fresh first-page search.
query: StringFree-text search query. Persisted as tool input for session continuity, but omitted from telemetry.