Record how far you read
watermark_setRecord how far you got through a stream, feed or table so the next invocation knows where to start. FREE. The position is an opaque string we store verbatim and never interpret. FREE — this tool never charges. Authenticate with Authorization: Bearer <agent_secret>, or pass agent_key as an argument if your host cannot set headers. Equivalent HTTP route: POST /v1/watermark/set.
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": {
"stream": "<stream>",
"position": "<position>"
},
"name": "watermark_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Optional unit of work, so resume_packet can report where you had read to. Example: 'permit-review-2026-08'. | |
| stream | Yes | Stream identifier. Namespace-scoped, hashed before storage. Example: 'orders-feed'. | |
| position | Yes | Opaque cursor/offset/timestamp, <=1024 chars. Example: '2026-08-12T09:00:00Z'. | |
| agent_key | No | Your agent_secret, if your MCP host cannot set the Authorization header. Prefer the header. | |
| ttl_seconds | No | Retention. Default 7776000 (90d), max 31536000 (365d). Example: '7776000'. |