set_input
Rewire a block's input slot to a new source block, or use 0 to disconnect. Adjust notebook block connections precisely.
Instructions
Rewire one input slot of a block to a different source block. Use 0 to disconnect.
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": {
"notebook": "<notebook>",
"blockId": "<blockId>",
"slot": "<slot>",
"sourceId": "<sourceId>"
},
"name": "set_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | Yes | ||
| output | No | ||
| blockId | Yes | ||
| notebook | Yes | ||
| sourceId | Yes |