map_functions
Write Minecraft Bedrock .mcfunction game logic into a behavior pack in the managed world, with immediate reload and tick function support.
Instructions
Write game logic as .mcfunction files into a behavior pack inside the managed world (Bedrock's replacement for command block chains). Functions are called with /function ; names listed in tick run every tick. The server reloads them right away. Example: {"teams/tp_red": ["tp @a[tag=red] 10 65 0"]}.
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": {
"functions": "<functions>"
},
"name": "map_functions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tick | No | ||
| world | No | ||
| functions | Yes | ||
| replace_all | No |