latestOpenAPI 3.1.02026-08-197104501.1 MB
8fbaab4fc7c5
tool management
Update Tool Policy
Set the input_policy and/or output_policy for a tool (global), or block for a specific team/key (override).
Parameters:
- tool_name: str - The tool to update
- input_policy: optional - "trusted" | "untrusted" | "blocked"
- output_policy: optional - "trusted" | "untrusted"
- team_id: optional - if set, create/update override for this team only
- key_hash: optional - if set, create/update override for this key only
post/v1/tool/policy
Request body
Response
Successful Response