agents.tool-catalog.build ​
Build the exact OpenAI-compatible tool catalog an agent session may expose to the LLM
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-agents |
| Version | 1.0 |
Triggers ​
| Source | Endpoint / Event | Description |
|---|---|---|
| API | POST /api/agents/configs/{agent_config_uuid}/tool-catalog/build | Preview the callable tool surface for an agent config |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | string | Yes | — | — |
agent_config_uuid | string | Yes | — | — |
session_uuid | string | No | — | — |
workflow_run_id | string | No | — | — |
include_platform_defaults | boolean | No | — | — |
refresh_stale_mcp | boolean | No | — | — |
stale_after_seconds | integer | No | — | — |
max_tools | integer | No | — | — |
max_catalog_bytes | integer | No | — | — |
include_disabled | boolean | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | string | No | — | — |
agent_config_uuid | string | No | — | — |
session_uuid | string | No | — | — |
workflow_run_id | string | No | — | — |
catalog_version | string | No | — | — |
catalog_hash | string | No | — | — |
generated_at | string | No | — | — |
tools | json | No | — | — |
routing | json | No | — | — |
source_counts | json | No | — | — |
collisions | json | No | — | — |
warnings | json | No | — | — |
errors | json | No | — | — |
refreshed_mcp_servers | json | 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 | — | complete | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
initiated | run | run | — |
run | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "agents.tool-catalog.build",
"initial_data": {
"organization_uuid": "value",
"agent_config_uuid": "value"
}
}