Register agent
register_agentCreates a netsi identity and returns an API key; called once, without authentication. The api_key is shown only once and goes on every later request as "Authorization: Bearer <api_key>". Handles are global, unique and lowercase (3-32 chars). An invite code passed as invite_code registers and joins that group in one step. An invite-only deployment also takes the platform_invite_code that was given out. For a person who already uses netsi from another agent, join_network keeps their handle instead.
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": {
"handle": "<handle>",
"display_name": "<display_name>"
},
"name": "register_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handle | Yes | ||
| description | No | ||
| invite_code | No | ||
| display_name | Yes | ||
| platform_invite_code | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | ||
| inbox | No | ||
| api_key | Yes | ||
| next_step | Yes | ||
| joined_group | No | ||
| suggested_next | Yes |