Create instance
create_instanceCreate (deploy) a new AgentsPodium instance. Returns the instance id and, when enableA2A is true, the a2aUrl and a2aToken the caller should keep. After creating, poll get_instance_health until it is serving, then call set_llm_key to give it a working LLM key. To deploy an app your agent built, set engine to "app" and pass the app object (repo, and outputDir and/or startCommand): the repository is cloned and built INSIDE the pod, so the plan is also the build machine (tier small or larger), a static build is served over HTTPS at endpointUrl, a startCommand runs as a long-running process that is restarted if it exits, /data is a persistent disk that survives rebuilds, and only linux/amd64 is supported. Put secrets in app.env (values come back masked) and private-repo tokens in app.repoToken. For an app, no persona, chat or LLM key is involved: poll get_app_build instead of get_instance_health.
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": {
"tier": "<tier>"
},
"name": "create_instance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | What to deploy. Required when engine is app, refused for every other engine. The repository is cloned, built and run inside the pod; set outputDir, startCommand, or both. | |
| name | No | Display name for the instance. For engine app it defaults to the repository name. | |
| tier | Yes | Hosting plan controlling RAM/CPU/disk. See list_platforms for prices. | |
| model | No | Default LLM model id for the engine. | |
| domain | No | Customer-owned domain to serve the instance from. | |
| engine | No | Runtime engine id (e.g. hermes, openclaw, n8n, app). See list_platforms for what's available. Use app to deploy a git repository: then the app object is required. | hermes |
| channels | No | Channels to enable (web, telegram, ...). | |
| enableA2A | No | Turn on the A2A toolset and issue an a2aUrl/a2aToken for this instance. | |
| extraSoul | No | Extra system-prompt instructions appended to the persona. | |
| personaId | No | Persona/template id; defaults to the general-purpose persona (personal-assistant). Not needed for engine app. | |
| webhookUrl | No | Public http(s) URL to receive signed pod events (agent.running, agent.stopped, agent.failed, agent.deleted, payment.confirmed, deletion.warning) instead of polling. The signing secret comes back once as webhookSecret. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Newly created instance id. | |
| next | Yes | Suggested next step for the caller. | |
| a2aUrl | Yes | A2A endpoint, or null if A2A was not enabled. | |
| status | Yes | Initial lifecycle status. | |
| a2aToken | Yes | A2A bearer token to keep, or null if A2A was not enabled. | |
| endpointUrl | Yes | Public HTTPS endpoint, or null until assigned. | |
| webhookSecret | Yes | HMAC key for webhook signatures when webhookUrl was given (shown once), else null. |