Skip to content

tool

Generated reference page for spec/v1/schemas/resources/tool.json.

Metadata

  • Type: JSON Schema
  • Source: spec/v1/schemas/resources/tool.json
  • Raw: View Raw

Summary

Source

json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://agent-service.spec/v1/schemas/resources/tool.json",
  "type": "object",
  "additionalProperties": false,
  "required": ["toolId", "orgId", "name", "description", "enabled", "createdAt", "updatedAt"],
  "properties": {
    "toolId": {
      "$ref": "../common/identity.json#/$defs/toolId"
    },
    "orgId": {
      "$ref": "../common/identity.json#/$defs/orgId"
    },
    "name": {
      "type": "string",
      "minLength": 1
    },
    "description": {
      "type": "string",
      "minLength": 1
    },
    "parametersSchema": {
      "type": "object",
      "additionalProperties": true
    },
    "resultSchema": {
      "type": "object",
      "additionalProperties": true
    },
    "executionProfile": {
      "$ref": "../common/execution-profile.json#/$defs/ExecutionProfile"
    },
    "authPolicy": {
      "type": "object",
      "additionalProperties": true
    },
    "enabled": {
      "type": "boolean"
    },
    "metadata": {
      "type": "object",
      "additionalProperties": true
    },
    "createdAt": {
      "$ref": "../common/identity.json#/$defs/timestamp"
    },
    "updatedAt": {
      "$ref": "../common/identity.json#/$defs/timestamp"
    },
    "version": {
      "$ref": "../common/identity.json#/$defs/version"
    }
  }
}

Generated from spec source.