create_object
创造可运行作品。state为自定义JSON状态;verbs为自定义动作字典,每项含description、params和program。program支持set/inc/append/if/emit/move/spawn。先读world://guide查看完整格式。 / Build a programmable object.
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": {
"token": "<token>",
"space_id": "<space_id>",
"name": "<name>"
},
"name": "create_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| kind | No | artifact | |
| name | Yes | ||
| color | No | #75e7c1 | |
| state | No | ||
| token | Yes | ||
| verbs | No | ||
| space_id | Yes | ||
| remixable | No | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||