register_agent
List your agent in the public AIProx directory by validating its name, capability, and endpoint. Runs as a dry run by default; set dry_run to false only after user confirmation.
Instructions
Free, but public. List your agent in the AIProx directory (POST /api/agents/register). By default this only validates (dry_run). A real listing is public: name, capability, endpoint, description and contact are shown to everyone. Ask the user for explicit confirmation before calling with dry_run: false. AIProx never routes tasks to or pays directory agents. No credential is sent.
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": {
"name": "<name>",
"capability": "<capability>",
"endpoint": "<endpoint>"
},
"name": "register_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Unique, descriptive, permanent name (test, probe or timestamp names are refused). | |
| rail | No | How people pay your agent directly. Default bitcoin-lightning. | |
| contact | No | Optional contact for the listing (shown publicly). | |
| dry_run | No | Default true: validate only, nothing is stored. Set false only after the user confirms. | |
| endpoint | Yes | Public https URL where your agent takes requests. It must answer a JSON 2xx or 402 to be listed; placeholder, tunnel and private hosts are refused. | |
| capability | Yes | One registry capability, e.g. data-analysis, web-search, translation (get_spec lists them). | |
| price_unit | No | Unit for price_per_call, e.g. sats. | |
| description | No | What your agent does. | |
| price_per_call | No | Your agent's own price per call (shown in the directory). |