Move file
code_moveMove or rename a file, or a folder and everything in it, within its tree. Returns the tree's problems after it, such as imports the move broke.
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": {
"from": "<from>",
"to": "<to>",
"org": "<org>"
},
"name": "code_move"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The address it should have, in the same tree. | |
| org | Yes | slug of the organization whose trees and sites to use. Required on every call, even when only one organization is listed; a path never names it. | |
| from | Yes | The address now. | |
| message | No | A brief note on the change. | |
| ifRevision | No | The revisionId returned by code_read; refuse unless the file is still at it. |