set_block_field
Set an input parameter or dropdown field on a block to a specified value, enabling project modifications in mBlock 5.
Instructions
Set an input param or dropdown field on a block.
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": {
"blockId": "<blockId>",
"kind": "<kind>",
"name": "<name>",
"value": "<value>"
},
"name": "set_block_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| name | Yes | ||
| path | No | ||
| value | Yes | ||
| target | No | ||
| blockId | Yes | ||
| confirm | No |