search_items
Locate stock items by partial name or SKU when the exact code is unknown. Use pagination to browse results.
Instructions
Find items by partial name or SKU when you do not know the exact SKU.
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": "search_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | No | Which field to match. 'any' searches name and SKU. | any |
| match | No | Ignored when field='any'. | contains |
| query | Yes | Text to look for, e.g. 'kurta' or 'ST-TEE'. | |
| cursor | No | next_cursor from the previous page; omit for the first page. | |
| page_size | No | Results per page (1-100). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | ||
| has_more | Yes | ||
| returned | Yes | ||
| next_cursor | No | Pass back as `cursor` to fetch the next page. |