find_definition
Locate the exact definition of a function or React component in your codebase by providing its name and an optional file path to narrow the search.
Instructions
Find the exact definition of a specific function or React component
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": {
"name": "<name>"
},
"name": "find_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Function or component name to find | |
| filePath | No | Optional file path to narrow search |