register_agent
Registers an agent in the hub by specifying its working directory, role, capabilities, and collaborators.
Instructions
Register an agent with the hub
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": {
"projectPath": "<projectPath>",
"role": "<role>"
},
"name": "register_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Agent identifier (optional - will be generated from project path if not provided) | |
| projectPath | Yes | Agent working directory | |
| role | Yes | Agent role description | |
| capabilities | No | Agent capabilities | |
| collaboratesWith | No | Expected collaborators |