mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
- Update docs/mcp/tools/ placeholders with quick refs and links - Create docs/ref/tools/index.md with full package table - Create docs/ref/agent/index.md with topic links - Create docs/ref/mcp/index.md with tool categories - Create docs/tools/index.md as main entry point - Add consistent cross-references between sections
729 B
729 B
LSP Tool
Language Server Protocol for code intelligence.
→ Full documentation: ../../tools/lsp.md
Quick Reference
# Go to definition
lsp(action="definition", file="main.py", line=10, character=15)
# Find references
lsp(action="references", file="main.py", line=10, character=15)
# Hover information
lsp(action="hover", file="main.py", line=10, character=15)
# Code completion
lsp(action="completion", file="main.py", line=10, character=15)
# Rename symbol
lsp(action="rename", file="main.py", line=10, character=15, new_name="newName")
# Get diagnostics
lsp(action="diagnostics", file="main.py")
Supported: Python, TypeScript, JavaScript, Go, Rust, Java, C/C++, Ruby, Lua