runtime_get_hook_logs
Retrieve call records of hooked functions, including parameters and return values. Optionally filter by function name and clear logs after retrieval.
Instructions
获取已Hook函数的调用记录(包含参数和返回值)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "runtime_get_hook_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| functionName | No | 过滤指定函数名的日志,不填返回全部 | |
| clear | No | 获取后是否清除日志,默认false |