search_runs
Search what the user's agents did and said before (every agent's chats in Caddie, routines included). Use it when the user mentions something from earlier, or before redoing a lookup another run may have done. query: words to look for (results: the tasks that match, best first, with the lines that matched); agent and task (from a result): read that chat; nothing: the latest tasks. days: only the last N days. A chat read back has why: the decisions each reply made. decisions: true searches the agents' Decisions logs instead (what each decided and why; query and agent narrow it). Findings agents saved in notes aren't here: search_notes has those.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| task | No | a task id (from a result) | |
| agent | No | an agent's name or id | |
| limit | No | default 5, max 10 (decisions: default 10, max 20) | |
| query | No | ||
| decisions | No | search the Decisions logs, not the chats |