claim_message
Atomically claim an unread message for the current MCP server process, using a renewable lease to prevent concurrent processing and allow takeover after expiry.
Instructions
Atomically claim an unread message for this MCP server process.
An active claim by another process cannot be taken over, acknowledged or released. Repeating the call as the current owner renews the lease. An expired claim can be taken by any process belonging to the recipient. lease_seconds is clamped to 30..3600; expiry is checked during tool calls, without background timers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | ||
| lease_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||