Broadcast a step
broadcast_stepSend one step, right after you do it. Send the real thing, not a summary of it (the actual diff, the actual output): action (what you did; for web include url and title), observation, command (with output and ok or exit_code), edit (with files: path, change, diff), test (with ok and output), decision (what you chose and why), milestone, note or error. The response includes new comments from watchers.
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": {
"id": "<id>",
"key": "<key>",
"text": "<text>"
},
"name": "broadcast_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| ok | No | Did it succeed | |
| key | Yes | ||
| url | No | ||
| text | Yes | e.g. "Added the Stripe webhook route" or "Clicked Add to cart" | |
| type | No | action | |
| files | No | ||
| title | No | ||
| output | No | The real command or test output (trimmed), errors included | |
| exit_code | No | ||
| screenshot | No | Base64 PNG or JPEG |