| 1 | # Tool Access Plugin DOX |
| 2 | |
| 3 | ## Purpose |
| 4 | |
| 5 | - Own the always-enabled project/profile tool-policy configuration and execution gate. |
| 6 | |
| 7 | ## Ownership |
| 8 | |
| 9 | - `helpers/tool_policy.py` owns shared resolution and catalog behavior. |
| 10 | - `hooks.py` normalizes scoped configuration. |
| 11 | - `extensions/python/tool_execute_before/` rejects blocked execution. |
| 12 | |
| 13 | ## Local Contracts |
| 14 | |
| 15 | - This plugin has no independent settings form; the generic plugin settings |
| 16 | shell exposes its scoped configuration index, while Agent Editor writes |
| 17 | sparse profile `config.json` files and the runtime remains authoritative. |
| 18 | - Custom configuration stores independent `default` and `mcp_default` |
| 19 | fallbacks; explicit canonical IDs remain shared in `allowed` and `blocked`. |
| 20 | - Required final-response capability is never disabled. |
| 21 | |
| 22 | ## Verification |
| 23 | |
| 24 | - Run `tests/test_tool_policy.py`. |
| 25 | |
| 26 | ## Child DOX Index |
| 27 | |
| 28 | No child DOX files. |