writ_badge_token
Mint a public badge token for the tenant and return its embed snippet.
Instructions
Mint a public badge token for the tenant and return its embed snippet.
The badge renders the tenant's live gated-write count over the trailing 30 days. The token is shown exactly once: store it, it is needed to revoke the badge. It is public by design (it lives in a README image URL) and cannot be used as an API key. See https://docs.withwrit.com/readme-badge for the verification model.
Args: label: Optional private label for your own bookkeeping (max 40 chars, letters/digits/space/_/.-). Never rendered on the badge.
Returns the gate payload verbatim: badgeToken (writ_badge_...), badgeUrl, markdown (ready-to-paste README snippet), label, and a note.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "writ_badge_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |