Create a badge
create_badgeOn one site of the account, named in site. A new badge: a name of its own, a line saying what it is for, and a picture — upload it with upload_media first and pass the url it answers. Give it to members with award_badge.
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": {
"site": "<site>",
"name": "<name>",
"image_url": "<image_url>"
},
"name": "create_badge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Up to 60 characters, unique without regard to case | |
| site | Yes | The site to work on, as list_sites names it | |
| image_url | Yes | The url upload_media answered for a PNG, JPEG, GIF or WebP file. Never an SVG: it shows nothing beside a name. | |
| description | No | What the badge is for, shown when a reader points at it |