veya_deploy_agent
Create an agent in a workspace. This does not spend gas and sends no transaction. Limit the agent with permissionConfig.allowedTools. If allowedTools is omitted, the agent cannot call a tool. type is stored for the API and defaults to coordination when omitted.
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": {
"environmentId": "<environmentId>"
},
"name": "veya_deploy_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| apiKey | No | Product API key (veya_dev_… / veya_live_…). Mint on the product site. Guest JWT is not a write credential. | |
| agentKind | No | ||
| sessionToken | No | Optional guest JWT for Use listing only. Prefer apiKey. | |
| environmentId | Yes | ||
| permissionConfig | No |