craft_write
Update a Craft space by running one approved write command at a time, such as creating documents or adding tasks and comments.
Instructions
Change a Craft space with one command, e.g. "documents create --title "Notes"", "tasks add --markdown "Call Sam"", "comments add …". Run "--help", or " --help", to see every command. The command is shown for approval before it runs. One command per call: a long command containing ";" is refused.
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": {
"account": "<account>",
"command": "<command>"
},
"name": "craft_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | Which connected account (alias) to act as, e.g. "business". | |
| command | Yes | The write command to run, e.g. 'tasks add --markdown "Call Sam"'. |