switch_inventory
Changes the active inventory for the token user (site and enterprise licenses only) so subsequent API actions apply to the intended inventory.
Instructions
Switch the token user's active inventory (site and enterprise licenses only). Rarely needed.
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": {
"inventory_id": "<inventory_id>"
},
"name": "switch_inventory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inventory_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |