list_exports
List public symbols from a Python module, honoring all and flagging re-exported imports.
Instructions
List the public symbols of a module.
Respects __all__ when present, otherwise reports non-underscore
module-level names, and flags re-exported imports.
Args: path: Path to a .py file.
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": {
"path": "<path>"
},
"name": "list_exports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |