Build Clarity Automation
buildClarityAutomationHand an automation proposal for a v2 clarity process off to the workflow-builder pipeline. Builds from transformation_proposal_id when supplied, otherwise from the process's live proposal. The proposal id is the durable idempotency key, so retries return the same run and a different proposal starts a new run. Returns 202 while the LLM run completes asynchronously, or 409 when the resolved proposal is still being written.
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": {
"process_id": "<process_id>"
},
"name": "buildClarityAutomation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| process_id | Yes | The clarity process id | |
| transformation_proposal_id | No | Automation-proposal snapshot to build the automation from. Defaults to the process's live proposal. |