File size: 873 Bytes
6918275
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Tool Access Plugin DOX

## Purpose

- Own the always-enabled project/profile tool-policy configuration and execution gate.

## Ownership

- `helpers/tool_policy.py` owns shared resolution and catalog behavior.
- `hooks.py` normalizes 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.json` files and the runtime remains authoritative.
- Custom configuration stores independent `default` and `mcp_default`
  fallbacks; explicit canonical IDs remain shared in `allowed` and `blocked`.
- Required final-response capability is never disabled.

## Verification

- Run `tests/test_tool_policy.py`.

## Child DOX Index

No child DOX files.