Back to Docs

get_schema

meta

Returns the JSON Schema for a specific artifact type (ChartArtifact, MatchingArtifact, TransitOverlay, MuhurthaWindow, etc.).

When to use

When you need to understand the structure of API responses for parsing or validation.

When NOT to use

When you need actual computation results.

Input Schema

{
  "type": "object",
  "properties": {
    "schema_name": {
      "type": "string",
      "enum": [
        "chart_artifact",
        "matching_artifact",
        "transit_overlay",
        "muhurtha_window",
        "narrative_response",
        "explain_response"
      ],
      "description": "Name of the schema to retrieve"
    }
  },
  "required": [
    "schema_name"
  ]
}

Output

Complete JSON Schema for the requested artifact type, including all nested types and descriptions.

Example Request

{
  "jsonrpc": "2.0",
  "id": 13,
  "method": "resources/read",
  "params": {
    "uri": "kundalimcp://schema/chart_artifact"
  }
}

Example Response

{
  "jsonrpc": "2.0",
  "id": 13,
  "result": {
    "contents": [
      {
        "uri": "kundalimcp://schema/chart_artifact",
        "mimeType": "application/json",
        "text": "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"title\":\"ChartArtifact\",\"type\":\"object\",\"properties\":{\"chart_hash\":{\"type\":\"string\"},\"graha_positions\":{\"type\":\"array\"},\"yogas\":{\"type\":\"array\"},\"shadbala\":{\"type\":\"array\"},\"dasha_timeline\":{\"type\":\"object\"}}}"
      }
    ]
  }
}