Tool Details: schema_check

Basic Information

Tool Name:schema_check
Asset Name:Check Schema
Description:Check whether a JSON Schema is structurally valid (well-formed). Validates type values and property/items structure. Does not reject unknown annotation keywords (per JSON Schema spec).
Adapter:schema
Asset Hash:0xb00c7777d90285d94d7a49b84bc0b9530058f47cc36477e4c2e0d29e0a7cebe0
Input
PropertyTypeDescription
schema*objectJSON Schema to check
Output
PropertyTypeDescription
errorstringError description if malformed
validboolean-

MCP Tool Usage Examples

This tool can be called via the MCP (Model Context Protocol) endpoint. Here are examples of how to use it:

JSON-RPC Call Example:

POST to https://venue-3.covia.ai/mcp

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "schema_check",
    "arguments": {
      "input": "your input here"
    }
  }
}
cURL Example:
curl -X POST https://venue-3.covia.ai/mcp \\
  -H "Content-Type: application/json" \\
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "schema_check",
      "arguments": {
        "input": "your input here"
      }
    }
  }'
Python Example:
import requests
import json

url = "https://venue-3.covia.ai/mcp"
payload = {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
        "name": "schema_check",
        "arguments": {
            "input": "your input here"
        }
    }
}

response = requests.post(url, json=payload)
result = response.json()
print(result)
JavaScript/Node.js Example:
const fetch = require('node-fetch');

const url = 'https://venue-3.covia.ai/mcp';
const payload = {
    jsonrpc: '2.0',
    id: 1,
    method: 'tools/call',
    params: {
        name: 'schema_check',
        arguments: {
            input: 'your input here'
        }
    }
};

fetch(url, {
    method: 'POST',
    headers: {
        'Content-Type': 'application/json'
    },
    body: JSON.stringify(payload)
})
.then(response => response.json())
.then(data => console.log(data));

Asset Metadata

{
  "name": "Check Schema",
  "description": "Check whether a JSON Schema is structurally valid (well-formed). Validates type values and property/items structure. Does not reject unknown annotation keywords (per JSON Schema spec).",
  "operation": {
    "adapter": "schema:check",
    "toolName": "schema_check",
    "input": {
      "type": "object",
      "properties": {
        "schema": { "type": "object", "description": "JSON Schema to check" }
      },
      "required": ["schema"]
    },
    "output": {
      "type": "object",
      "properties": {
        "valid": { "type": "boolean" },
        "error": { "type": "string", "description": "Error description if malformed" }
      }
    }
  }
}

Navigation

Back to adapter details

Back to all adapters

Back to index