ollie/data/tools/lsp_rename.meta

33 lines
971 B
Plaintext

{
"description": "Rename symbol across workspace. Applies edits directly.",
"prompt": "## lsp_rename\n\nRename symbol across workspace. Applies edits directly.\n\n**Args**: `[path, line, col, new_name]`\n\n```\nlsp_rename(path=\"/abs/path.go\", line=\"42\", col=\"10\", new_name=\"NewName\")\n```\n\n**Prefer over manual find-and-replace** \u2014 understands scope, interfaces, cross-package references.",
"args": {
"type": "object",
"required": [
"path",
"line",
"col",
"new_name"
],
"properties": {
"path": {
"type": "string",
"description": "Absolute file path"
},
"line": {
"type": "string",
"description": "Line number (1-indexed)"
},
"col": {
"type": "string",
"description": "Column number (1-indexed)"
},
"new_name": {
"type": "string",
"description": "New symbol name"
}
}
},
"scope": "global"
}