tools
Update Tool Policy
Changed onSet 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
- Base URLhttps://api.flock.io (the document declares no server; this is the origin it was published from)
- URLhttps://api.flock.io/v1/tool/policy
- AuthAPI key in header x-litellm-api-key
Request body
Response
Successful Response
Changes
- info
api tag
toolsadded - info
api tag
tool managementremoved
- info
- info
api tag
tool managementadded - info
api tag
toolsremoved
- info