Skip to main content
POST
Get Hover

Overview

Get detailed documentation, type information, and examples when hovering over any Python symbol. This provides the same information you see in your IDE’s hover tooltips.

Request

string
required
File URI (e.g., file:///workspace/main.py)
number
required
Line number (0-indexed)
number
required
Character position (0-indexed)

Response

string
Markdown-formatted documentation
object
Text range of the hovered symbol

Example Request

Example Response

What Information You Get

Type Signatures

Function parameters, return types, and type hints

Documentation

Docstrings with descriptions, args, and examples

Usage Examples

Code snippets showing how to use the symbol

Error Info

Possible exceptions and error conditions

Use Cases

Understand Function Parameters

Check Variable Types

View Class Information

Inspect Import Sources

Hover Content Format

Hover information is returned as Markdown with syntax highlighting:

Function Signature

Code Examples