schedule_stimulus
Schedule stimulation at exact burst offsets so neurons fire on precise burst numbers without wall-clock jitter. Use it to replay timed stimulus patterns or hold areas on until cancelled.
Instructions
Force-fire voxels at exact burst offsets, inside the burst loop (no wall-clock jitter).
entries is [{"burst_offset": 0, "stimuli": [{"area_id": <id or name>, "coordinates": [[x, y, z], ...]}]}]. Offset 0 is the next burst; FEAGI turns offsets into
absolute burst numbers when it accepts the request, fires all areas of one entry on the same
burst, and fires an entry that is already late on the next burst. Returns schedule_id,
start_burst and end_burst (end_burst is null for a repeating schedule). Stop a
schedule with cancel_stimulus; list active ones with get_stimulus_schedule.
An entry fires once, at its burst_offset; FEAGI's request has no per-entry duration, so a
bursts key is rejected. To hold a pattern for N bursts, list one entry per burst
(offsets k..k+N-1; put them in steps_file to cost no tokens) or use hold_stimulus.
To hold an area on, use one entry at offset 0 with repeat_period_bursts=1 and cancel it
with cancel_stimulus.
Args:
entries: Burst-offset entries (each needs a non-empty stimuli list)
steps_file: Path to a JSON file holding the same list as entries (for long
schedules, such as replaying recorded values, so they cost no tokens). Pass
entries or steps_file, not both. Errors name the problem: missing file,
invalid JSON, not a list, empty list, or an item that is not an object.
repeat_period_bursts: Optional. Replay the entries at offset + k * period until
cancelled; must be greater than the largest burst_offset
potential: Membrane potential the forced neurons fire with (finite, > 0). Default None =
the server's own (100). It is a probe that bypasses threshold and refractory; a
neuron that already fired naturally in that burst keeps its own potential. Mechanisms
that read firing potential (MP-driven PSP, graded modulator drivers) see this value;
outputs that read strength clamp or scale it themselves. If FEAGI does not apply it
(older version) the call returns an error; applied_potential is returned when
reported.
Sent once on every schedule entry (one value per entry, none per voxel).
label: Optional group name (<= 64 characters). cancel_stimulus(label=...) then
cancels every schedule (and hold) with it. Kept in this MCP server only, so it is
lost when the server restarts; use the schedule_id then.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "schedule_stimulus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| entries | No | ||
| potential | No | ||
| steps_file | No | ||
| repeat_period_bursts | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||