search_workspace
Search existing workspace media by prompt, file name, description, and tags. This searches metadata, not image pixels. Use a concise subject keyword such as "cat". Follow nextCursor until hasMore is false when the user asks for all matches. Never create an edit while searching.
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": {
"workspaceId": "<workspaceId>",
"query": "<query>"
},
"name": "search_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Optional media type | |
| limit | No | ||
| query | Yes | Subject or metadata terms to match | |
| cursor | No | nextCursor from the previous search page | |
| workspaceId | Yes | Workspace to search |