主题
tool-revision
Generated reference page for
spec/v1/schemas/resources/tool-revision.json.
Metadata
- Type: JSON Schema
- Source:
spec/v1/schemas/resources/tool-revision.json - Raw: View Raw
Summary
- Schema ID: https://agent-service.spec/v1/schemas/resources/tool-revision.json
- Defs: 0
- Properties: 16
- Required: 7
Source
json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://agent-service.spec/v1/schemas/resources/tool-revision.json",
"type": "object",
"additionalProperties": false,
"required": [
"toolRevisionId",
"toolId",
"orgId",
"description",
"executionMode",
"resultTransport",
"createdAt"
],
"properties": {
"toolRevisionId": {
"$ref": "../common/identity.json#/$defs/toolRevisionId"
},
"toolId": {
"$ref": "../common/identity.json#/$defs/toolId"
},
"orgId": {
"$ref": "../common/identity.json#/$defs/orgId"
},
"description": {
"type": "string",
"minLength": 1
},
"parametersSchema": {
"type": "object",
"additionalProperties": true
},
"resultSchema": {
"type": "object",
"additionalProperties": true
},
"executionMode": {
"$ref": "../common/enums.json#/$defs/toolExecutionMode"
},
"resultTransport": {
"$ref": "../common/enums.json#/$defs/toolResultTransport"
},
"executionProfile": {
"$ref": "../common/execution-profile.json#/$defs/ExecutionProfile"
},
"runPolicy": {
"$ref": "../common/execution-profile.json#/$defs/RunPolicy"
},
"authPolicy": {
"type": "object",
"additionalProperties": true
},
"idempotent": {
"type": "boolean"
},
"releaseNotes": {
"type": "string"
},
"contentDigest": {
"type": "string"
},
"metadata": {
"type": "object",
"additionalProperties": true
},
"createdAt": {
"$ref": "../common/identity.json#/$defs/timestamp"
}
}
}