search_catalog
UCP catalog search. Natural-language query and/or filters over this storefront's catalog; returns UCP products (id = product URL) with price range, media and a single variant each, plus a short answer in messages. Filters are applied to the results (price in minor units, categories by value). Pages are re-runs of the same search sliced at the cursor, so ordering may vary between pages.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"catalog": "<catalog>"
},
"name": "search_catalog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | Optional UCP request metadata. ucp-agent.profile is the https URL of the calling platform's UCP profile; send it to identify yourself. Calls without it are served. | |
| catalog | Yes | At least one of query or filters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ucp | Yes | UCP response metadata: version, status (success or error) and capabilities. | |
| messages | No | Warnings and errors, each with type, code, content and severity. | |
| products | No | UCP products; each id is the product URL on this storefront. | |
| pagination | No | has_next_page, total_count, and a cursor when another page exists. |