scratchpad_set
Write ephemeral state or JSON payloads to a shared agent blackboard with automatic TTL expiration, enabling multi-agent data exchange without dedicated databases.
Instructions
[Cost: $0.0005 USDC on Base & Solana] Writes an ephemeral state key or JSON payload to the shared agent blackboard with automatic TTL expiration.
Supports hierarchical namespace paths (e.g. 'swarm/task-1/data') and optional write-keys to prevent unauthorized overwrites.
Ideal for multi-agent workflows passing intermediate state without spinning up dedicated databases.
Args:
key: State key or namespace path (e.g., 'research/summary_01').
value: Any data payload (string, number, list, or JSON dict).
ttl_seconds: Time to live in seconds before automatic deletion (default: 3600, max: 604800).
write_key: Optional secret passphrase to protect the key from being overwritten or deleted by other agents.
payment_signature: Optional x402 Base USDC transaction hash or developer mock key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| value | Yes | ||
| write_key | No | ||
| ttl_seconds | No | ||
| payment_signature | No |