samply search functions
samply_search_functionsSearch profile data for function or library names and return per-thread sample counts for matching hotspots.
Instructions
Search for function names or library names within a profile and return per-thread sample counts for matching hotspots.
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": {
"query": "<query>"
},
"name": "samply_search_functions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Case-insensitive search term. | |
| maxResults | No | Maximum number of aggregated function matches to return. | |
| profilePath | No | Path to a profile JSON or JSON.GZ file. | |
| maxThreadsPerResult | No | Maximum number of thread breakdowns per matching function. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| matches | Yes | ||
| matchCount | Yes | ||
| profilePath | Yes | ||
| sidecarPath | Yes | ||
| presymbolicated | Yes |