Files
agent-zero/plugins/_tool_access/README.md
Alessandro e4d1905fb3 Clarify default remote input access
Clarify that input_remote and remote terminal execution are already enabled
by default and require no Agent Editor grants. Update the tool prompt,
host execution skill, and policy documentation to distinguish this default
from custom profiles that restrict terminal access.

Add regressions covering prompt and native-schema visibility, policy
checks, and dispatch without explicit grants under inherited and custom
allow-by-default policies. Keep terminal dependency enforcement and host
execution and Read&Write gates unchanged.

Validation:
- 192 focused tests passed in both Conda a0 and Docker's framework runtime.
- Live runtime policy checks confirmed input, input_remote, and remote
  execution are allowed for the default and agent0 profiles.
- No new end-to-end CLI session was run.
2026-11-12 17:39:18 +01:00

41 lines
2.4 KiB
Markdown

# Tool Access
Tool Access is the always-enabled runtime owner for Agent Editor tool policy.
Policies use the standard plugin precedence: active project profile, active
project, user profile, bundled/plugin profile, then the default. Sparse project
policy lives under `.a0proj/plugins/_tool_access/config.json`; Global profile
policy lives under `usr/agents/<profile>/plugins/_tool_access/config.json`, and
project-profile policy lives under
`usr/projects/<project>/.a0proj/agents/<profile>/plugins/_tool_access/config.json`.
The Plugins screen exposes these scoped files through its existing
configuration list; policy choices remain owned by Agent Editor.
One resolver filters textual prompts and provider-native schemas, rejects local
and MCP execution, and keeps delegated agents bound to their own effective scope.
The required final-response capability is always available.
Local `input`, remote `input_remote`, and remote terminal execution are enabled
by default. No Agent Editor change is needed to use remote input once host
execution and Read&Write access are enabled in the CLI or Launcher. In v2.15,
custom policies that block remote terminal execution also block `input_remote`,
because keyboard input can execute shell commands. Restricted profiles must
permit both `input_remote` and the `terminal` action of `code_execution_remote`.
Bundled tools with multiple actions support independent permissions for each
action: memory, scheduler, local/remote text editors and code execution, browser,
remote computer use, office artifacts, goals, skills, and parallel jobs.
Action IDs append the action to the tool ID, for example
`plugin:_text_editor:text_editor:read`. Memory keeps its existing
`plugin:_memory:memory_load` and other legacy action IDs.
Explicit blocks win over allows across both whole-tool and action rules.
Existing whole-tool rules still work, and missing policies still inherit normal
access. Browser batches check each member; code execution also checks an explicit
reset flag; parallel requests check the operations they actually perform and
each worker checks its own tool call. Model prompts and native schemas expose the
permitted actions. Custom tools and MCP tools retain whole-tool controls.
Action controls restrict these tool calls. They are not a filesystem or process
sandbox: an allowed terminal or browser JavaScript action can still perform work
that another tool's action is blocked from doing.