Skip to main content

Module tool_limit

Module tool_limit 

Source
Expand description

What a Drone Agent block’s one-shot claude may use (docs/specs/SPEC_DRONE_REAL_WORLD_JOBS_2026_11_11.md §5).

The block’s allow_commands is the whole answer, and the runner passes it to the CLI as flags:

  • nothing, false or an empty list: the tools that read (Read, Grep, Glob) and no MCP server;
  • a command line, or a list of them: those and Bash for exactly those command lines, no MCP server, and none of the user’s, project’s or local settings (their permissions.allow rules would add to the list);
  • true: no limit from AgentMux (the check that turns a job on asks the person about it).

A tool the CLI is not given is not there for the model to call, and a command line that is not listed is not run (--permission-mode dontAsk answers no to anything that is not allowed, where --print has nobody to ask).

Enums§

ToolLimit
The tools a native Agent block may use.