get_hook_detail
Retrieve parameters, return type, query keys, adapter calls, data fetching pattern, and component usage for a custom hook or Vue composable.
Instructions
Get detailed information about a custom hook or Vue composable. Returns parameters, return type, query keys, adapter/service calls, data fetching pattern, and which components use this hook/composable. If the name matches multiple hooks, returns ambiguous with candidates — re-call with 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": {
"name": "<name>"
},
"name": "get_hook_detail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Optional path substring to disambiguate when the name matches multiple files | |
| name | Yes | Hook name (e.g., "useHandoffState", "usePatientData") |