Register Advocate
register_advocateRegister a new Advocate in the DPYC community registry.
Advocates are community utility services that provide shared infrastructure (e.g., OAuth2 callback collectors) but aren't monetized Operators or certification Authorities.
The request must be signed with npub's own key (NIP-98): a
service registers itself, and no one can register an npub they do
not hold.
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": {
"npub": "<npub>",
"display_name": "<display_name>",
"service_name": "<service_name>",
"service_url": "<service_url>",
"service_description": "<service_description>"
},
"name": "register_advocate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| npub | Yes | Nostr npub of the Advocate service. | |
| service_url | Yes | Public URL of the service. | |
| display_name | Yes | Human-readable name for the service. | |
| service_name | Yes | Machine-readable service identifier (e.g., "tollbooth-oauth2-collector"). | |
| service_description | Yes | Short description of what the service does. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||