agloop_search_logs
Search execution logs by agent, action, task ID, phase, or input/output summaries using full-text, case-insensitive queries.
Instructions
Full-text search through execution logs. Case-insensitive search across agent, action, task_id, phase, input/output summaries.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |
Implementation Reference
- src/agloop_mcp/server.py:100-104 (handler)The handler implementation for the `agloop_search_logs` MCP tool. It calls the `search_logs` method on the `StateManager` instance.
@mcp.tool() def agloop_search_logs(query: str) -> str: """Full-text search through execution logs. Case-insensitive search across agent, action, task_id, phase, input/output summaries.""" results = _sm().search_logs(query) return json.dumps([asdict(e) for e in results], indent=2)