trackActiveFile
Monitor and log user interactions with active files, capturing actions like open, edit, or close, for enhanced file tracking within the Cursor10x MCP server.
Instructions
Tracks an active file being accessed by the user
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": {
"filename": "<filename>",
"action": "<action>"
},
"name": "trackActiveFile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action performed on the file (open, edit, close, etc.) | |
| filename | Yes | Path to the file being tracked | |
| metadata | No | Optional metadata for the file |