Spark Workspace
open_inventory_workspaceOpen Spark's workspace for inventory, purchasing and receiving: browse stock, review reorder recommendations, preview and confirm draft purchase orders, and inspect existing drafts. Use view=purchasing or view=receiving for those workflows. Pass itemId to resolve an item identity through the tool channel. Opens with no arguments, for example from the assistant's app launcher. Credential-owned tenant and client confinement applies.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "open_inventory_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | Initial workspace view: inventory (default), purchasing or receiving. | inventory |
| limit | No | Page size, default 50, maximum 500. | |
| itemId | No | Optional item GUID to resolve an authorized identity for workspace selection. | |
| offset | No | Zero-based page offset. | |
| search | No | Optional SKU or item name search, at most 200 characters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| view | No | inventory | |
| items | Yes | ||
| limit | Yes | ||
| total | Yes | ||
| offset | Yes | ||
| itemIdentity | No |