add_agent
(Needs the workspace_key from create_workspace.) Add one agent to the roster (no message is sent to them).
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": {
"workspace_key": "<workspace_key>",
"name": "<name>"
},
"name": "add_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Full name | |
| plan | No | Plan id or name from list_plans (default: the first plan) | |
| No | Email (strongly recommended) | ||
| mobile | No | Mobile number | |
| join_date | No | YYYY-MM-DD (default today) | |
| workspace_key | Yes | The workspace_key returned by create_workspace |