draft_node
Turn a plain-English brief into a structured node spec (name, role, systemPrompt, description, provider, model) WITHOUT creating anything — the agent reviews/edits the draft, then materializes it with create_graph or update_graph_nodes. The same extraction the canvas quick-add runs.
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": {
"description": "<description>"
},
"name": "draft_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graphId | No | Optional graph whose fallbackChain guides the model pick | |
| description | Yes | Plain-English brief for the agent, e.g. 'reviews PR diffs and flags risky changes' |