Skip to content

Discovery & test-security

List agents and tools

bash
anycode list-agents
anycode list-tools

When Agent or Task appears in the tool list, those invoke nested sub-agents. JSON inputs and behavior aligned with Claude Code’s Agent tool (cwd, model, isolation, run_in_background, etc.) are documented under P5 in the Roadmap.

test-security

Runs SecurityLayer::check_tool_call for a given tool name and JSON input:

bash
anycode test-security --tool Bash --input '{"command":"ls"}'

Exact subcommand spelling is shown in anycode --help.

LSP tool

With --features tools-lsp, the LSP tool forwards JSON-RPC over a stdio subprocess. Configure lsp in config.json (see Config & securityLSP) or set ANYCODE_LSP_COMMAND.

MIT License