Create Agent Identity
create_agent_identityCreates a unique agent identity and persists its profile to Git, so multiple coding agents get memorable, trackable IDs for coordinated messaging and conflict-free collaboration.
Instructions
Create a new, unique agent identity and persist its profile to Git.
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": {
"project_key": "<project_key>",
"program": "<program>",
"model": "<model>"
},
"name": "create_agent_identity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| format | No | ||
| program | Yes | ||
| name_hint | No | ||
| project_key | Yes | ||
| task_description | No | ||
| attachments_policy | No | auto | |
| return_registration_token | No | When True (default, current behaviour), the response includes the freshly-minted `registration_token`. When False, the token is omitted from the tool result so transcript-visible MCP sessions can satisfy a "do not echo secrets into scrollback" contract; the agent is still bound to the current MCP session via `_bind_session_agent`, so follow-up calls in the same session can authenticate without ever surfacing the token. The token still exists on the server and can be retrieved or rotated through the normal admin paths. See issue #154. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||