agents.tool-call.execute ​
Execute one model-requested tool call through the canonical workflow boundary
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-agents |
| Version | 1.0 |
Triggers ​
| Source | Endpoint / Event | Description |
|---|---|---|
| INTERNAL | agent.tool-runtime | Internal agent tool runtime workflow |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | string | Yes | — | — |
session_uuid | string | Yes | — | — |
agent_config_uuid | string | No | — | — |
step_metric_uuid | string | No | — | — |
tool_call_ref | string | No | — | — |
tool_name | string | Yes | — | — |
tool_source | string | No | — | — |
tool_catalog_entry | json | No | — | — |
arguments | dict | No | — | — |
round_index | integer | No | — | — |
timeout_seconds | integer | No | — | — |
wait_for_terminal | boolean | No | — | — |
dry_run | boolean | No | — | — |
risk_context | json | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | string | No | — | — |
session_uuid | string | No | — | — |
step_metric_uuid | string | No | — | — |
tool_call_ref | string | No | — | — |
tool_name | string | No | — | — |
tool_source | string | No | — | — |
policy_result | json | No | — | — |
policy_decision | string | No | — | — |
success | boolean | No | — | — |
skipped | boolean | No | — | — |
skip_reason | string | No | — | — |
result | json | No | — | — |
result_truncated | boolean | No | — | — |
raw_response | json | No | — | — |
tool_result_message | json | No | — | — |
workflow_type | string | No | — | — |
workflow_run_uuid | string | No | — | — |
mcp_server_uuid | string | No | — | — |
duration_ms | integer | No | — | — |
input_size_chars | integer | No | — | — |
output_size_chars | integer | No | — | — |
metrics_tool_call_uuid | string | No | — | — |
error_category | string | No | — | — |
error_message | string | No | — | — |
approval_uuid | string | No | — | — |
approval_envelope_uuid | string | No | — | — |
started_at | string | No | — | — |
completed_at | string | No | — | — |
awaiting_child | boolean | No | — | — |
wait_deadline_epoch | integer | No | — | — |
wait_poll_count | integer | No | — | — |
wait_started_epoch | integer | No | — | — |
tool_inherited_metadata | json | No | — | — |
agent_config_uuid | string | No | — | — |
tool_catalog_entry | json | No | — | — |
arguments | dict | No | — | — |
round_index | integer | No | — | — |
wait_resend_count | integer | No | — | — |
failure_reason | string | No | — | — |
failed_step | string | No | — | — |
failed_layer | json | No | — | — |
failed_at_state | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
failed_at | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
initiated | Yes | No | — | run | — |
run | No | No | — | — | — |
waiting | No | No | — | — | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
initiated | run | run | — |
run | await_child | waiting | — |
run | complete | completed | — |
waiting | poll | waiting | — |
waiting | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "agents.tool-call.execute",
"initial_data": {
"organization_uuid": "value",
"session_uuid": "value",
"tool_name": "value"
}
}