Run a share page
run_shareRun a workflow share page once as its owner, exactly as a visitor would (the published version, the page's default inputs unless you pass others), to check it works or get a result. Costs money like any run: call first without approved to get the cost and inputs, tell the person, and only call again with approved: true after they say yes. Then call get_run every 15 seconds or so until done is true.
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": {
"share_id": "<share_id>"
},
"name": "run_share"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | No | Input values keyed by input name (see get_share start_inputs). Inputs left out use the page's defaults. | |
| approved | No | true only after the person has agreed to this run and its cost. | |
| share_id | Yes | The share page to run. |