ApiSchemas
SubagentByReference
One shape from the contract, as it appears on the wire.
Used by agents.create, agents.promote, agents.update, agents.upsert, agents.versions
JSON Schema
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"agent"
]
},
"name": {
"$ref": "#/components/schemas/SubagentName"
},
"description": {
"type": "string"
},
"agent": {
"$ref": "#/components/schemas/ProviderName"
},
"version": {
"type": "integer",
"minimum": 1
}
},
"required": [
"kind",
"name",
"description",
"agent"
],
"additionalProperties": false
}