Search collected data
writ_search_dataSearch previously collected workflow data by term to answer questions from past runs without re-running workflows. Scope to one workflow or search across all, returning preview-sized matches.
Instructions
Search across everything already collected by your workflows for a term — answers data questions from past runs without running anything. Scopes to one workflow when given, else fans out. Matches come back preview-sized; fetch full records with writ_workflow_data(refs=...).
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": {
"q": "<q>"
},
"name": "writ_search_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Search term (required). | |
| limit | No | Rows per workflow (default 10). | |
| device | No | A linked Writ desktop's agent_id (writ_devices): act ON it. Omit to use the desktop this connection chose with writ_devices action='use' (if any). | |
| workflow | No | ||
| workflow_id | No | ||
| preview_chars | No | Cut matched string cells to this many characters (default 300; 0 = full cells). |