record_aligned_trace
Records time-aligned traces pairing per-area neural burst firing with simulator physics and actuator targets, saving JSONL rows and returning compact run-length summaries for debugging.
Instructions
One timeline pairing each sampled burst with the simulator's physics at that moment.
Polls /v1/burst_engine/fire_queue/detailed (burst number in timestep,
filtered to areas) together with the controller's GET /v1/state for up to
20 s and at most 64 areas. The full trace is written to
<feagi-mcp>/var/traces/<trace_id>.jsonl (absolute trace_path in the result; override
the directory with FEAGI_MCP_TRACES_DIR) (one row per burst: fired voxels per area, clock,
pitch, roll, tilt, trunk z, actuator ctrl targets for signals, all
actuators when signals is omitted).
The return value is compact: per area, run-length encoded bursts on which it
fired with the physics and targets at the start of each run, so "tilt bin fired at
burst N, nudge voxel at N+2, pitch changed at N+6" is readable without the file.
bursts_missed_by_sampler counts engine bursts the FEAGI sampler did not
publish (it runs near 30 Hz).
For burst-exact firing recorded from a body/brain reset, use Studio's
run_embodiment_trial(areas=...).
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": {
"duration_s": "<duration_s>",
"areas": "<areas>"
},
"name": "record_aligned_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| areas | Yes | ||
| signals | No | ||
| duration_s | Yes | ||
| free_joint | No | ||
| controller_id | No | mujoco | |
| introspection_url | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||