Files that instruct the agent
instruction_filesEnumerate all agent instruction files in a code checkout with size, token cost, and @import targets to review what your AI agent will follow.
Instructions
Every CLAUDE.md, AGENTS.md, .cursorrules and equivalent in the checkout, with size, estimated token cost, and what each one's @import lines pull in — including imports that resolve outside the repo. File contents are never returned; open the paths yourself.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "instruction_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Absolute path to the checkout to inspect. Defaults to WI_DEFAULT_ROOT if set, otherwise the server's working directory. |