get_function_profile
Retrieve aggregate stats, callers, callees, and hot paths for a function name substring from SPX reports. Get targeted performance data without navigating raw event streams.
Instructions
Return aggregate, callers, callees, and hot paths for a function name substring.
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": {
"key": "<key>",
"functionQuery": "<functionQuery>"
},
"name": "get_function_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| limit | No | ||
| metric | No | ||
| spxKey | No | SPX HTTP key. Defaults to SPX_KEY. | |
| baseUrl | No | SPX-enabled application base URL. Defaults to SPX_BASE_URL. | |
| timeoutMs | No | ||
| maxPathDepth | No | ||
| functionQuery | Yes |