do
Execute a publicly-listed DO by id or name. Supply all inputs per the
get_doml contract (including
read-slot data for any connector steps). The DO runs synchronously and returns
{ outputs, proposedActions }.
proposedActions are writes for YOU to perform — the DO never writes externally itself.
Input
| Field | Type | Required | Description |
|---|---|---|---|
idOrName |
string | yes | DO id or (exact or partial) name. |
inputs |
object | no | Inputs keyed by parameter name + read-slot key, per get_doml's contract. |
Example request
{
"jsonrpc": "2.0",
"id": 3,
"method": "tools/call",
"params": {
"name": "do",
"arguments": {
"idOrName": "KPI Tree Architect",
"inputs": { "metric": "Net revenue retention", "horizon": "2 quarters" }
}
}
}
Example response
{
"domlId": "wf_kpi_tree_architect",
"title": "KPI Tree Architect",
"status": "ok",
"outputs": [
{ "step": "Decompose metric", "text": "Net revenue retention = Gross retention x Expansion..." }
],
"proposedActions": []
}