inventory__get_workspace
Retrieve workspace details by ID, including name, host count, and timestamps. Requires inventory workspace viewer permission to access.
Instructions
Get details for one or more workspaces by ID.
Returns id, name, ungrouped, host_count, and timestamps for each workspace. Required permission: inventory:groups:read (Workspace viewer).
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": {
"workspace_ids": "<workspace_ids>"
},
"name": "inventory__get_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_ids | Yes | Comma-separated workspace IDs (UUIDs). Prefer IDs over names; names can be duplicated. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |