loop_register
Register a custom loop to the local MCP by providing full loop text; it is hashed, split into phases, and persisted for streaming.
Instructions
Add YOUR OWN loop to this machine's local MCP. Pass the full loop text as content; the MCP hashes it (sha256, write-once per version), assigns a safe id, splits it into phase-gated sections, and persists it locally. Stream it afterward with loop_start { loop:"" } exactly like the mandated loops. Cannot overwrite the hash-locked Strip Miner / Loop-de-loop. Nothing leaves your machine.
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": {
"id": "<id>",
"content": "<content>"
},
"name": "loop_register"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | safe lowercase id (no slashes/spaces); must not collide with a mandated loop | |
| role | No | ||
| runId | No | optional; only used to journal the registration | |
| title | No | ||
| content | Yes | the full loop text (headers or paragraph breaks become streamable phases) | |
| trigger | No | e.g. "/loop my-loop" | |
| overwrite | No | replace an existing custom loop of the same id with a new local version |