Answer an approval card
alchemist_answerAnswer an Alchemist approval card with the chosen response. Answering can publish an agent, make it live, merge agents or change their behaviour. response must be one of the card's responses; approve does what the card proposes. merge needs keep, the agent that stays. Per-item items on a fix card go with approve. On a website connect_channel card, approve takes origins, the site addresses the user gave (like https://shop.example). Other inputs a card asks for go in fields, and the user's own words in note. Returns the next builder turn, or, on a build run step by step, the card's outcome (op) and the build's next stage.
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>",
"approval_id": "<approval_id>",
"response": "<response>"
},
"name": "alchemist_answer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keep | No | On a merge, the id of the agent that stays. | |
| note | No | The user's own words to go with the answer. | |
| items | No | On a fix card answered with approve, how to handle each listed item. | |
| fields | No | Other inputs the card asks for, keyed by the field names the card lists. | |
| origins | No | On a website channel card answered with approve, the site addresses the user gave, like https://shop.example. | |
| build_id | Yes | Id of the build the card belongs to. | |
| response | Yes | One of the card's responses; approve does what the card proposes. | |
| approval_id | Yes | Id of the approval card being answered. |