Move file
move_fileRenames a file or moves it to another folder: oldPath is where it is now, newPath where it should be. A same-parent oldPath/newPath is a rename. title follows newPath's filename unless you pass one. Moving into a workspace other than your default needs confirmation - see confirm_token.
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": {
"oldPath": "<oldPath>",
"newPath": "<newPath>",
"workspace_id": "<workspace_id>",
"context": "<context>"
},
"name": "move_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Override the title (otherwise it follows newPath's filename). | |
| context | Yes | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization." | |
| newPath | Yes | Destination full path - a different folder, a different filename, or both. | |
| oldPath | Yes | Current full path of the file. | |
| workspace_id | Yes | Which workspace to act in - a workspace id (whoami returns the id of your default workspace). Required here (no default): this operation cannot be undone. | |
| confirm_token | No | Only when writing into a workspace other than your default: the first call returns a `confirmation_required` result carrying a `confirm_token`; call again with the same arguments plus that token to proceed. |