file_move
Move or rename files and directories within the workspace, ensuring both source and destination paths reside under the workspace root.
Instructions
Move or rename a file/directory inside the workspace.
Both source and destination must resolve within the workspace root.
Args:
source: Source path relative to workspace.
destination: Destination path relative to workspace.
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": {
"source": "<source>",
"destination": "<destination>"
},
"name": "file_move"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| destination | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |