mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-08-24 07:45:42 +00:00
Let project- or agent-scoped plugins open the shared settings surface even without a custom form. Tool Access can now reach existing scoped configurations while inert Save and Reset actions remain hidden.
873 B
873 B
Tool Access Plugin DOX
Purpose
- Own the always-enabled project/profile tool-policy configuration and execution gate.
Ownership
helpers/tool_policy.pyowns shared resolution and catalog behavior.hooks.pynormalizes scoped configuration.extensions/python/tool_execute_before/rejects blocked execution.
Local Contracts
- This plugin has no independent settings form; the generic plugin settings
shell exposes its scoped configuration index, while Agent Editor writes
sparse profile
config.jsonfiles and the runtime remains authoritative. - Custom configuration stores independent
defaultandmcp_defaultfallbacks; explicit canonical IDs remain shared inallowedandblocked. - Required final-response capability is never disabled.
Verification
- Run
tests/test_tool_policy.py.
Child DOX Index
No child DOX files.