tool management

Update Tool Policy

Set the call policy for a tool.

Parameters:

  • tool_name: str - The tool to update
  • call_policy: "trusted" | "untrusted" | "dual_llm" | "blocked"

Setting a tool to "blocked" will cause the ToolPolicyGuardrail to remove that tool_call from LLM responses before returning them to the client.

post/v1/tool/policy

Request body

tool_namestring required
call_policy'trusted' | 'untrusted' | 'dual_llm' | 'blocked' required

Response

Successful Response

tool_namestring required
call_policy'trusted' | 'untrusted' | 'dual_llm' | 'blocked' required
updatedboolean required

Changes

No recorded changes to this endpoint across all 1 revision of this API.