get_stage_profiling
Retrieve per-stage callback wall-clock timings for records matching a key in a running AimDB instance, highlighting the slowest stage to identify bottlenecks. Requires profiling enabled.
Instructions
Get automatic stage profiling (per-.source()/.tap()/.link() callback wall-clock timing) for records matching a key from a running AimDB instance, including the slowest stage ('bottleneck'). Requires the instance to be built with the profiling feature.
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": {
"record_key": "<record_key>"
},
"name": "get_stage_profiling"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint | No | Endpoint URL (unix://PATH, serial://DEVICE?baud=N) or a bare path. Falls back to AIMDB_CONNECT env var if omitted. | |
| record_key | Yes | Substring to match against record names/keys (e.g., 'Temperature') |