Run a build step
alchemist_doRun one step on an Alchemist build that the user's coding agent runs step by step: tool is a step its stage allows, args that step's input. op_id is an id you make up for this step: sending the same op_id with the same args again returns the first result instead of running it twice. user_words quotes the user's own words when the step acts on what they said, such as a support ticket or a lesson for an agent. Steps can build, test and change agents and raise tickets. A step out of order comes back refused with what to do first. A step longer than about 20 seconds returns status still_running (not an error) and carries on; its result is then the build's last_op.
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": {
"build_id": "<build_id>",
"tool": "<tool>",
"op_id": "<op_id>"
},
"name": "alchemist_do"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | The step's input, matching that step's input schema. | |
| tool | Yes | Name of a step the build's current stage allows, as listed in its allowed steps. | |
| op_id | Yes | An id you make up for this step. The same op_id with the same args again returns the first result instead of running the step twice. | |
| build_id | Yes | Id of the build to run the step on. | |
| user_words | No | The user's own words when the step acts on what they said, such as a support ticket or a lesson for an agent. |