query_<id> tool. The tool routes through a read-only sub-agent that has the Workspace toolkit scoped to the root: list files, search content, and read files with line numbers.
workspace.py
Run the Example
Full source: cookbook/12_context/13_workspace.py