monitor_activity
Sample real-time neural firing rates, active neurons, and spike patterns in a cortical area, with lifetime fire-count stats that distinguish currently quiet circuits from never-fired ones.
Instructions
Monitor real-time neural activity, plus lifetime fire-count enrichment.
Observes firing rates, active neurons, and spike patterns over the sample
window. The base REST endpoint reports only spikes seen in that window,
which can incorrectly suggest a circuit is dead when it is merely silent
at sample time. By default this tool also attaches lifetime_stats
aggregating per-neuron consecutive_fire_count across the area, so a
"0 spikes now but lifetime_active_count > 0" result clearly distinguishes
"currently quiet" from "never wired/never fired".
Rates are sampled over the window, not counted per burst: a rate near half the
burst frequency does not show that a neuron fires every other burst. For per-burst
cadence read get_fire_queue_detailed on consecutive bursts.
Args:
area_id: Cortical area identifier (e.g., "cCPGa_", "opose0").
duration_ms: Sample window in milliseconds (default: 1000).
include_lifetime_stats: When True (default), attach lifetime_stats.
Set False for very large areas where the extra fan-out is unwanted.
lifetime_neuron_cap: Maximum neurons inspected for lifetime stats
(default: 64). Caps round-trips for big areas.
summary_only: When True (default), omit spike_history and the
active_neurons id list. Set False only to inspect raw spikes.
Returns:
Activity data including firing_statistics (sample window) and,
when enabled, lifetime_stats with max_consecutive_fire_count,
lifetime_active_count, and top_neurons.
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": {
"area_id": "<area_id>"
},
"name": "monitor_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area_id | Yes | ||
| duration_ms | No | ||
| summary_only | No | ||
| lifetime_neuron_cap | No | ||
| include_lifetime_stats | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||