get_workspaces
List shared local workspace IDs or read a workspace's revision and paged source IDs as metadata; use it to inspect workspace structure, then query files for content.
Instructions
List shared local workspace IDs, or provide workspace_id to read its revision and source IDs, 100 sources per page (pass offset=next_offset for more). Returns metadata only, without source text, stored paths, or hashes. It does not search content; to find something in files, use query_knowledge_base.
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": "get_workspaces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Sources per page, 100 by default | |
| offset | No | First source to return; use next_offset for the next page | |
| workspace_id | No |