Skip to content

agent-revision

Generated reference page for spec/v1/schemas/resources/agent-revision.json.

Metadata

  • Type: JSON Schema
  • Source: spec/v1/schemas/resources/agent-revision.json
  • Raw: View Raw

Summary

Source

json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://agent-service.spec/v1/schemas/resources/agent-revision.json",
  "$defs": {
    "McpServerRef": {
      "type": "object",
      "additionalProperties": false,
      "required": ["mcpServerId"],
      "properties": {
        "mcpServerId": {
          "$ref": "../common/identity.json#/$defs/mcpServerId"
        },
        "releaseChannelId": {
          "$ref": "../common/identity.json#/$defs/releaseChannelId"
        },
        "alias": {
          "type": "string",
          "minLength": 1
        },
        "includeToolNames": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          }
        },
        "metadata": {
          "type": "object",
          "additionalProperties": true
        }
      }
    }
  },
  "type": "object",
  "additionalProperties": false,
  "required": ["agentRevisionId", "agentId", "orgId", "executionProfile", "createdAt"],
  "properties": {
    "agentRevisionId": {
      "$ref": "../common/identity.json#/$defs/agentRevisionId"
    },
    "agentId": {
      "$ref": "../common/identity.json#/$defs/agentId"
    },
    "orgId": {
      "$ref": "../common/identity.json#/$defs/orgId"
    },
    "card": {
      "type": "object",
      "additionalProperties": true
    },
    "protocolProfiles": {
      "$ref": "../common/protocol-profile.json#/$defs/ProtocolProfiles"
    },
    "mcpServerRefs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/McpServerRef"
      }
    },
    "executionProfile": {
      "$ref": "../common/execution-profile.json#/$defs/ExecutionProfile"
    },
    "runPolicy": {
      "$ref": "../common/execution-profile.json#/$defs/RunPolicy"
    },
    "secretRefs": {
      "type": "array",
      "items": {
        "$ref": "../common/execution-profile.json#/$defs/SecretRef"
      }
    },
    "releaseNotes": {
      "type": "string"
    },
    "contentDigest": {
      "type": "string"
    },
    "metadata": {
      "type": "object",
      "additionalProperties": true
    },
    "createdAt": {
      "$ref": "../common/identity.json#/$defs/timestamp"
    }
  }
}

白皮书与规范内容以仓库真源为准。