unhook_function
Removes an active JavaScript function hook by its unique hook ID. This alias for remove_hook maintains compatibility with existing CDP project workflows.
Instructions
Alias for remove_hook (kept for compatibility with the original CDP project naming).
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": {
"hookId": "<hookId>"
},
"name": "unhook_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hookId | Yes |