enforced_tool_call
Policy-check agent tool calls, optionally forward to an endpoint, and sign request and response as a bilateral receipt for compliance audit.
Instructions
Strong-enforcement path: policy-check, optionally forward to tool_endpoint, then sign request+response as one bilateral receipt (or sign approval only and require complete_action to close).
Args:
tool_name: Name of the tool to execute
agent_id: The agent requesting the tool call
arguments: Optional JSON string of tool arguments
tool_endpoint: Optional HTTP endpoint to forward the approved call to
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tool_name": "<tool_name>",
"agent_id": "<agent_id>"
},
"name": "enforced_tool_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool_name | Yes | ||
| agent_id | Yes | ||
| arguments | No | ||
| tool_endpoint | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |