get_hook
Get complete details for any design system hook, including signature, return type, category, RSC safety, subpath, and import snippet.
Instructions
Full detail for a DS utility hook — signature, returns, category, RSC safety, subpath, description, and an import snippet.
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": {
"hookName": "<hookName>"
},
"name": "get_hook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hookName | Yes | Hook name (e.g. "useDisclosure", "useDebouncedValue"). |