find_definition
Locates the definition of a specified symbol in a codebase using AST parsing, given a file path and symbol name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| symbol | Yes | ||
| language | No | python |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| name | No | ||
| error | No | ||
| found | Yes | ||
| symbol | Yes | ||
| location | No | ||
| signature | No | ||
| source_code | No | ||
| qualified_name | No |