execute
Run commands against the running Powder Toy game to draw elements, control simulation playback, inspect state, and adjust settings; call read_instructions first for command syntax.
Instructions
pt execute: run a command against the running Powder Toy game. IMPORTANT: call read_instructions first; it documents every command and its syntax.
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": {
"command": "<command>"
},
"name": "execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Command line, e.g. "draw line DUST 10 10 200 10" |