notify_file_changed
Report changed file paths to update the code index and search results so queries use current file content.
Instructions
Tell the server which files changed, so that the index and search read the new content.
A server that watches the project finds edits without this call.
Args: files: Changed file paths, relative or absolute.
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": {
"files": "<files>"
},
"name": "notify_file_changed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| workspace | No | Project path (default: this project) | |
| max_tokens | No |