nostr_confirm_publish
Executes a one-time confirmation token to dispatch a staged signed event or DM, reapplying the safety pipeline before signing.
Instructions
Execute a previously-prepared signed publish, identified by its one-time token. Only meaningful when NOSTR_REQUIRE_CONFIRM=true, or when called after publish_metadata (which always confirms). Token is consumed (single-use); the safety pipeline (read-only, signer, kind allowlist, rate limit, dm allowlist) re-runs before signing. Dispatches to the right execute path based on which tool issued the token (publish_event variants OR send_dm).
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": {
"token": "<token>"
},
"name": "nostr_confirm_publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Confirmation token returned by a previous write tool call. |