Create an agent
create_agentCreate an agent in your workspace: a named ledger whose every event is ed25519-signed and hash-chained. initial_credits mints supply to the workspace issuer, not to the agent - fund_agent moves credits across when you need usage metering. Costs 1 unit. Authenticate with the workspace key in _meta[satledger/api-key].
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": {
"agent_id": "<agent_id>",
"display_name": "<display_name>",
"initial_credits": "<initial_credits>"
},
"name": "create_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Your workspace key, if your client cannot set _meta[satledger/api-key]. Prefer _meta: arguments are logged by most clients. | |
| agent_id | Yes | ||
| display_name | Yes | ||
| initial_credits | Yes |