Start an aictrl workflow
start_workflowStart a published workflow with inputs validated against the parameters returned by get_workflow. The run can perform only the published workflow's declared external side effects, such as creating a branch or pull request, within its configured gates and policy. Before calling, show the user the workflow's inputs, declared side effects and approval gates from get_workflow, and call only after the user explicitly confirms in the current conversation. Retrying with the same idempotency key returns the same run.
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": {
"organization_id": "<organization_id>",
"workflow_id": "<workflow_id>",
"idempotency_key": "<idempotency_key>"
},
"name": "start_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | No | Values for workflow parameters; issue inputs accept native aictrl issue IDs. | |
| workflow_id | Yes | Workflow ID returned by list_workflows. | |
| repository_id | No | Confirmed connected repository ID, required for native issue workflows. | |
| idempotency_key | Yes | Stable caller-generated key. Retrying with the same key returns the same run. | |
| organization_id | Yes | AICtrl organization ID returned by list_organizations. |