get_file_location
Get the source file path and line number for a method or class by specifying its fully-qualified name.
Instructions
Get the source file path and line number for a method or class by FQN.
Tries Method first, then Class.
Args:
fqn: Fully-qualified name of the method or class.
Returns:
Dict with keys ``fqn``, ``file_path``, ``line_start``,
or ``None`` if not found.
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": {
"fqn": "<fqn>"
},
"name": "get_file_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fqn | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |