zambot_chain
Create or extend a Spark Chain — a cryptographically linked sequence of ZAMBOT Sparks for the same goal. Each Spark in a chain references the previous one via proof_hash, creating an auditable agent reasoning trail. Actions: 'create' (start a new chain, returns chain_id), 'spark' (add a new spark to an existing chain), 'get' (retrieve full chain history). Perfect for multi-step agent strategies, iterative planning sessions, and verifiable reasoning logs. Free to create chains. Sparks within chains share the same rate limits as zambot_spark.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | Goal for this spark or chain (required for 'create' and 'spark' actions, min 10 chars) | |
| title | No | Optional label for the chain (used on 'create', max 100 chars) | |
| action | Yes | 'create' = start new chain (requires goal), 'spark' = add spark to chain (requires chain_id + goal), 'get' = retrieve chain history (requires chain_id) | |
| chain_id | No | Chain ID to extend or retrieve (required for 'spark' and 'get' actions). Format: 'zbtc_abc123...' — returned from 'create'. |