smart_search
Interprets natural-language queries into structured catalog searches using Bedrock, returning the search plan and results. See inferred filters and alternative terms to refine or re-run.
Instructions
Interpret a natural-language query with Bedrock, then run the search.
Returns both the plan and the results, so you can see which filters were
inferred and re-run with catalog_search if the interpretation is off.
If the results are thin, the plan's expansions are alternative terms
worth retrying.
Args: query: The user's request, in their own words — no need to strip constraints out first. api: Which catalog to search. Optional when only one is configured. page: 1-based page number. page_size: Results per page. Defaults to the catalog's configured size.
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": {
"query": "<query>"
},
"name": "smart_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api | No | ||
| page | No | ||
| query | Yes | ||
| page_size | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | ||
| results | Yes | ||
| model_id | Yes |