invariance_agent_create
Create a new agent within a specified Invariance project using a user-session token, enabling agent tracking and observability setup.
Instructions
Create a new agent inside one of the caller's projects. Requires a user-session JWT bearer (not an agent API key) — see invariance-cli inv auth signup / inv auth signin to obtain one.
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>",
"project_id": "<project_id>"
},
"name": "invariance_agent_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Agent name (visible in the dashboard). | |
| project_id | Yes | Project ID the agent will live under. The caller must be a member. | |
| public_key | No | Optional Ed25519 public key (64-char lowercase hex). Can be set later via invariance_agent_set_key. |