POST /tool/create
Create Tool
Create tools using composable infra architecture.
Request Body (CreateToolApiRequest)
| Field | Type | Required | Description |
|---|---|---|---|
tools | CreateToolItem[] | Yes | List of tools to create |
idempotency_key | string | No | Operation key for ack — promotes or rejects a dormant create |
soft | boolean | No | Stage the create dormant (active=False) — propose; the ack ({idempotency_key, accept}) promotes/rejects it |
accept | boolean | No | Accept (promote) or reject dormant state. Only meaningful with idempotency_key |
Response (CreateToolApiResponse)
| Field | Type | Required | Description |
|---|---|---|---|
results | ToolResultItem[] | Yes | List of operation results |
idempotency_key | string | No | Idempotency key echoed back for client correlation |
tools | ListToolApiTool[] | No | Hydrated rows for the created tools (same shape as /tool/search returns) |
Last updated on