Koskamo MCP
Koskamo provides a remote MCP server that allows AI agents to retrieve cited, versioned knowledge from public datasets. It supports looking up sourced passages, listing available datasets, and managing document versions. The server enables agents to trace facts to original sources like NIST, IANA, and NASA, and allows dataset owners to review and approve proposed corrections.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://koskamo.com/api/mcpWhat its tools do
22 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Read-only (21)
koskamo_search_passageskoskamo_list_datasetskoskamo_get_historykoskamo_list_revisionskoskamo_search_mcp_serverskoskamo_get_mcp_serverkoskamo_list_mcp_directory_changeskoskamo_get_reference_schemakoskamo_query_referencekoskamo_search_use_caseskoskamo_get_use_casekoskamo_get_contextkoskamo_get_capabilitieskoskamo_get_connection_healthkoskamo_get_task_plankoskamo_get_readinesskoskamo_get_connection_plankoskamo_list_documentskoskamo_get_documentkoskamo_get_revisionkoskamo_get_artifact
Can change data (1)
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to koskamo.com ·
- Passed Endpoint is on the registry namespace domain ·
- Uptime 100% over 90 days
- Availability 3 of 3 checks passed in 30 days
What you can do with it
- Retrieve cited passages from public datasets
- List available datasets for agent search
- Propose revisions to dataset content
- Trace facts to original sources and versions
Source and maintenance
Protocol and capabilities
- Server
- com.koskamo/koskamo 1.5.1
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 22 advertised
- Resources
- 27 advertised
- Resource templates
- 2 advertised
- Prompts
- 3 advertised
{
"tools": {
"listChanged": false
},
"prompts": {
"listChanged": false
},
"resources": {
"subscribe": false,
"listChanged": false
},
"experimental": {
"io.empline/rate-limits": {
"headers": "draft-ietf-httpapi-ratelimit-headers",
"policies": [
{
"id": "mcp",
"limit": 40,
"scope": "ip",
"surfaces": [
"mcp",
"http"
],
"description": "JSON-RPC messages per address across all MCP endpoints, including keyed access.",
"window_seconds": 60
},
{
"id": "mcp-key",
"limit": 40,
"scope": "api_key",
"surfaces": [
"mcp",
"http"
],
"description": "JSON-RPC messages per API key on /api/mcp/contributor.",
"window_seconds": 60
},
{
"id": "mcp-directory:owner-key",
"limit": 30,
"scope": "ip",
"surfaces": [
"http",
"mcp"
],
"description": "Owner-key edits, rotations and answers per address.",
"window_seconds": 60
},
{
"id": "mcp-register:start",
"limit": 5,
"scope": "ip",
"surfaces": [
"http",
"mcp"
],
"description": "New self-registrations per address.",
"window_seconds": 3600
},
{
"id": "mcp-register:verify",
"limit": 30,
"scope": "ip",
"surfaces": [
"http",
"mcp"
],
"description": "Registration verify attempts per address.",
"window_seconds": 3600
},
{
"id": "mcp-email-proof:ip",
"limit": 5,
"scope": "ip",
"surfaces": [
"http",
"mcp"
],
"description": "Ownership proof emails requested per address.",
"window_seconds": 3600
},
{
"id": "mcp-email-proof:address",
"limit": 3,
"scope": "email_address",
"surfaces": [
"http",
"mcp"
],
"description": "Ownership proof emails sent to one mailbox.",
"window_seconds": 86400
},
{
"id": "mcp-issues:report",
"limit": 20,
"scope": "ip",
"surfaces": [
"mcp",
"http"
],
"description": "MCP issue reports per address.",
"window_seconds": 3600
},
{
"id": "mcp-outcomes",
"limit": 60,
"scope": "ip",
"surfaces": [
"mcp",
"http"
],
"description": "Outcome signals per address across all listings.",
"window_seconds": 3600
},
{
"id": "mcp-outcomes:server",
"limit": 1,
"scope": "ip_target",
"surfaces": [
"mcp",
"http"
],
"description": "Outcome signals per address for one listing, so one agent cannot outvote the rest.",
"window_seconds": 3600
}
]
}
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
22 advertised
koskamo_search_passages — Retrieve cited passages
Search Koskamo datasets for candidate passages with source citations and document versions. Similarity scores rank matches and do not measure factual confidence.
{
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"maxLength": 2000,
"minLength": 1,
"description": "The question or search string"
},
"top_k": {
"type": "integer",
"maximum": 12,
"minimum": 1,
"description": "Maximum candidate passages to retrieve"
},
"dataset": {
"type": "string",
"description": "Optional dataset id or slug. Defaults to all public datasets."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"query",
"passages",
"assessment",
"guidance"
],
"properties": {
"query": {
"type": "string"
},
"degraded": {
"enum": [
"embeddings_unavailable",
"database_unavailable"
],
"type": "string",
"description": "Present only when a backend was unavailable and passages came from a keyword fallback; coverage may be partial"
},
"guidance": {
"type": "string",
"description": "What returned passages and scores do and do not establish"
},
"passages": {
"type": "array",
"items": {
"type": "object",
"required": [
"text",
"score",
"datasetId",
"datasetSlug",
"datasetName",
"datasetVersion",
"documentId",
"documentTitle",
"documentVersion",
"sourceUrl",
"chunkId",
"ordinal",
"version",
"createdAt"
],
"properties": {
"text": {
"type": "string"
},
"score": {
"type": "number",
"description": "Ranking score within the retrieval engine; not a confidence probability"
},
"chunkId": {
"type": "string",
"description": "Chunk uuid for database-backed datasets; dataset:document:ordinal for the bundled catalog"
},
"ordinal": {
"type": "integer",
"description": "Chunk position inside the source document"
},
"version": {
"type": "integer",
"description": "Alias of datasetVersion kept for existing citers"
},
"createdAt": {
"type": "string",
"format": "date-time",
"description": "Document creation timestamp"
},
"datasetId": {
"type": "string"
},
"sourceUrl": {
"type": "string"
},
"documentId": {
"type": "string"
},
"datasetName": {
"type": "string"
},
"datasetSlug": {
"type": "string"
},
"documentTitle": {
"type": "string"
},
"datasetVersion": {
"type": "integer",
"description": "Collection version at retrieval time; documentVersion identifies the exact document"
},
"documentVersion": {
"type": "integer",
"description": "Document content version; increments when an approved revision replaces the document"
}
}
}
},
"assessment": {
"enum": [
"candidates",
"no_matches"
],
"type": "string",
"description": "Candidate availability only; does not assess whether the question is answered"
}
}
}{
"title": "Retrieve cited passages",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}koskamo_list_datasets — List public datasets
List a page of public Koskamo datasets with continuation metadata.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 100,
"minimum": 1,
"description": "Maximum rows in this page"
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740891,
"minimum": 0,
"description": "Continue from pagination.nextOffset while keeping the same filters"
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"datasets",
"pagination"
],
"properties": {
"datasets": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"slug",
"name",
"description",
"visibility",
"version",
"documentCount",
"createdAt"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
},
"license": {
"type": "string",
"description": "Reuse information from the original source, when supplied"
},
"version": {
"type": "integer",
"description": "Increments every time a document write goes live"
},
"readOnly": {
"type": "boolean",
"description": "Application-maintained reference datasets do not accept API revisions"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"managedBy": {
"enum": [
"mcp-directory",
"use-cases"
],
"type": "string",
"description": "Documents mirror another Koskamo system of record and change only there; API revisions are refused"
},
"publisher": {
"type": "string",
"description": "Publisher attribution, when supplied"
},
"reviewedAt": {
"type": "string",
"format": "date-time",
"description": "Editorial review date, when supplied"
},
"visibility": {
"enum": [
"public",
"private"
],
"type": "string"
},
"description": {
"type": "string"
},
"documentCount": {
"type": "integer"
}
}
}
},
"pagination": {
"type": "object",
"required": [
"limit",
"offset",
"hasMore",
"nextOffset"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"offset": {
"type": "integer",
"minimum": 0
},
"hasMore": {
"type": "boolean"
},
"nextOffset": {
"type": [
"integer",
"null"
],
"minimum": 0
}
}
}
}
}{
"title": "List public datasets",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}koskamo_get_history — Get document history
Get the document version timeline for a public dataset: every document (including deleted ones) with the version history produced by approved revisions.
{
"type": "object",
"required": [
"dataset"
],
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 100,
"minimum": 1,
"description": "Maximum rows in this page"
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740891,
"minimum": 0,
"description": "Continue from pagination.nextOffset while keeping the same filters"
},
"dataset": {
"type": "string",
"description": "Dataset id or slug"
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"dataset",
"history",
"pagination"
],
"properties": {
"dataset": {
"type": "object",
"required": [
"id",
"slug",
"name",
"description",
"visibility",
"version",
"documentCount",
"createdAt"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
},
"license": {
"type": "string",
"description": "Reuse information from the original source, when supplied"
},
"version": {
"type": "integer",
"description": "Increments every time a document write goes live"
},
"readOnly": {
"type": "boolean",
"description": "Application-maintained reference datasets do not accept API revisions"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"managedBy": {
"enum": [
"mcp-directory",
"use-cases"
],
"type": "string",
"description": "Documents mirror another Koskamo system of record and change only there; API revisions are refused"
},
"publisher": {
"type": "string",
"description": "Publisher attribution, when supplied"
},
"reviewedAt": {
"type": "string",
"format": "date-time",
"description": "Editorial review date, when supplied"
},
"visibility": {
"enum": [
"public",
"private"
],
"type": "string"
},
"description": {
"type": "string"
},
"documentCount": {
"type": "integer"
}
}
},
"history": {
"type": "array",
"items": {
"type": "object"
}
},
"pagination": {
"type": "object",
"required": [
"limit",
"offset",
"hasMore",
"nextOffset"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"offset": {
"type": "integer",
"minimum": 0
},
"hasMore": {
"type": "boolean"
},
"nextOffset": {
"type": [
"integer",
"null"
],
"minimum": 0
}
}
}
}
}{
"title": "Get document history",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}koskamo_list_revisions — List pending revisions
List revisions for a public dataset; pending by default, or filter by approved, rejected, or all states.
{
"type": "object",
"required": [
"dataset"
],
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 100,
"minimum": 1,
"description": "Maximum rows in this page"
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740891,
"minimum": 0,
"description": "Continue from pagination.nextOffset while keeping the same filters"
},
"status": {
"enum": [
"pending",
"approved",
"rejected",
"all"
],
"type": "string",
"description": "Review state; defaults to pending"
},
"dataset": {
"type": "string",
"description": "Dataset id or slug"
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"revisions",
"pagination"
],
"properties": {
"revisions": {
"type": "array",
"items": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id",
"datasetId",
"datasetSlug",
"documentId",
"action",
"title",
"body",
"sourceUrl",
"rationale",
"status",
"createdAt",
"reviewedAt",
"proposerName",
"baseDocumentVersion"
],
"properties": {
"id": {
"type": "string"
},
"body": {
"type": "string"
},
"title": {
"type": "string"
},
"action": {
"enum": [
"add_document",
"replace_document",
"delete_document"
],
"type": "string"
},
"status": {
"enum": [
"pending",
"approved",
"rejected"
],
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"datasetId": {
"type": "string"
},
"rationale": {
"type": "string"
},
"sourceUrl": {
"type": "string"
},
"documentId": {
"type": [
"string",
"null"
]
},
"reviewedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"datasetName": {
"type": "string"
},
"datasetSlug": {
"type": "string"
},
"proposerName": {
"type": "string"
},
"baseDocumentVersion": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
},
"pagination": {
"type": "object",
"required": [
"limit",
"offset",
"hasMore",
"nextOffset"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"offset": {
"type": "integer",
"minimum": 0
},
"hasMore": {
"type": "boolean"
},
"nextOffset": {
"type": [
"integer",
"null"
],
"minimum": 0
}
}
}
}
}{
"title": "List pending revisions",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}koskamo_search_mcp_servers — Find an MCP server
Find remote MCP servers and local MCP packages. Filter by vendor/community publisher, transport, capabilities, and sign-in. Live-check and source-verification states are returned independently.
{
"type": "object",
"properties": {
"auth": {
"enum": [
"none",
"oauth-optional",
"oauth",
"api-key"
],
"type": "string",
"description": "Optional remote sign-in filter"
},
"kind": {
"enum": [
"remote",
"package"
],
"type": "string",
"description": "Remote endpoint or local package"
},
"limit": {
"type": "integer",
"default": 50,
"maximum": 100,
"minimum": 1,
"description": "Maximum rows in this page"
},
"query": {
"type": "string",
"maxLength": 200,
"description": "Words to match against name, operator, description, use cases, requirements, and capability descriptions"
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740891,
"minimum": 0,
"description": "Continue from pagination.nextOffset while keeping the same filters"
},
"behavior": {
"enum": [
"read-only",
"writes"
],
"type": "string",
"description": "Match explicit server-advertised annotations only"
},
"category": {
"enum": [
"docs-reference",
"developer-tools",
"cloud-infrastructure",
"data-analytics",
"ai-ml",
"commerce",
"payments",
"productivity",
"project-management",
"crm-marketing",
"erp-supply-chain",
"design"
],
"type": "string",
"description": "Optional category filter"
},
"publisher": {
"enum": [
"vendor",
"community"
],
"type": "string",
"description": "Whether the publisher is the vendor or a community maintainer"
},
"transport": {
"enum": [
"streamable-http",
"sse",
"stdio"
],
"type": "string",
"description": "Transport supported by the server or package"
},
"capability": {
"enum": [
"tools",
"resources",
"prompts"
],
"type": "string",
"description": "Capability the listing must advertise"
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"servers",
"pagination"
],
"properties": {
"servers": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"operator",
"catalogKind",
"publisherKind",
"endpoint",
"transport",
"auth",
"category",
"docsUrl",
"directoryUrl"
],
"properties": {
"id": {
"type": "string"
},
"auth": {
"enum": [
"none",
"oauth-optional",
"oauth",
"api-key",
null
],
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
},
"tools": {
"type": "array",
"items": {
"type": "string"
}
},
"docsUrl": {
"type": "string",
"format": "uri"
},
"category": {
"enum": [
"docs-reference",
"developer-tools",
"cloud-infrastructure",
"data-analytics",
"ai-ml",
"commerce",
"payments",
"productivity",
"project-management",
"crm-marketing",
"erp-supply-chain",
"design"
],
"type": "string"
},
"endpoint": {
"type": [
"string",
"null"
],
"format": "uri"
},
"operator": {
"type": "string"
},
"useCases": {
"type": "array",
"items": {
"type": "string"
}
},
"toolCount": {
"type": [
"integer",
"null"
],
"minimum": 0
},
"transport": {
"enum": [
"streamable-http",
"sse",
"stdio"
],
"type": "string"
},
"companyUrl": {
"type": "string",
"format": "uri",
"description": "Company website"
},
"repository": {
"type": [
"object",
"null"
]
},
"verifiedAt": {
"type": [
"string",
"null"
]
},
"catalogKind": {
"enum": [
"remote",
"package"
],
"type": "string"
},
"description": {
"type": "string"
},
"promptCount": {
"type": [
"integer",
"null"
],
"minimum": 0
},
"directoryUrl": {
"type": "string",
"format": "uri"
},
"requirements": {
"type": "array",
"items": {
"type": "string"
},
"description": "Accounts, subscriptions, or keys needed before the server is useful"
},
"publisherKind": {
"enum": [
"vendor",
"community"
],
"type": "string"
},
"resourceCount": {
"type": [
"integer",
"null"
],
"minimum": 0
},
"registryVersion": {
"type": "string"
},
"observationState": {
"type": [
"string",
"null"
]
}
}
}
},
"pagination": {
"type": "object",
"required": [
"limit",
"offset",
"hasMore",
"nextOffset"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"offset": {
"type": "integer",
"minimum": 0
},
"hasMore": {
"type": "boolean"
},
"nextOffset": {
"type": [
"integer",
"null"
],
"minimum": 0
}
}
}
}
}{
"title": "Find an MCP server",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}koskamo_get_mcp_server — Get MCP server details
Get one published MCP listing with complete live-observed or source-attributed tool schemas, resources, prompts, package definitions, provenance, and sanitized maintenance events.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"maxLength": 64,
"description": "Directory listing id"
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"server",
"maintenance",
"directoryUrl"
],
"properties": {
"server": {
"type": "object",
"required": [
"id",
"name",
"operator",
"catalogKind",
"publisherKind",
"endpoint",
"transport",
"auth",
"category",
"docsUrl",
"directoryUrl",
"liveMetadata",
"sourceMetadata",
"packages"
],
"properties": {
"id": {
"type": "string"
},
"auth": {
"enum": [
"none",
"oauth-optional",
"oauth",
"api-key",
null
],
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
},
"tools": {
"type": "array",
"items": {
"type": "string"
}
},
"docsUrl": {
"type": "string",
"format": "uri"
},
"category": {
"enum": [
"docs-reference",
"developer-tools",
"cloud-infrastructure",
"data-analytics",
"ai-ml",
"commerce",
"payments",
"productivity",
"project-management",
"crm-marketing",
"erp-supply-chain",
"design"
],
"type": "string"
},
"endpoint": {
"type": [
"string",
"null"
],
"format": "uri"
},
"operator": {
"type": "string"
},
"packages": {
"type": "array",
"items": {
"type": "object"
}
},
"useCases": {
"type": "array",
"items": {
"type": "string"
}
},
"toolCount": {
"type": [
"integer",
"null"
],
"minimum": 0
},
"transport": {
"enum": [
"streamable-http",
"sse",
"stdio"
],
"type": "string"
},
"companyUrl": {
"type": "string",
"format": "uri",
"description": "Company website"
},
"repository": {
"type": [
"object",
"null"
]
},
"verifiedAt": {
"type": [
"string",
"null"
]
},
"catalogKind": {
"enum": [
"remote",
"package"
],
"type": "string"
},
"description": {
"type": "string"
},
"promptCount": {
"type": [
"integer",
"null"
],
"minimum": 0
},
"directoryUrl": {
"type": "string",
"format": "uri"
},
"liveMetadata": {
"type": [
"object",
"null"
]
},
"requirements": {
"type": "array",
"items": {
"type": "string"
},
"description": "Accounts, subscriptions, or keys needed before the server is useful"
},
"publisherKind": {
"enum": [
"vendor",
"community"
],
"type": "string"
},
"resourceCount": {
"type": [
"integer",
"null"
],
"minimum": 0
},
"sourceMetadata": {
"type": [
"object",
"null"
]
},
"registryVersion": {
"type": "string"
},
"observationState": {
"type": [
"string",
"null"
]
}
}
},
"uptime": {
"type": "object"
},
"openIssues": {
"type": "object",
"required": [
"count",
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"count": {
"type": "integer"
}
}
},
"maintenance": {
"type": "array",
"items": {
"type": "object"
}
},
"directoryUrl": {
"type": "string",
"format": "uri"
},
"maintenanceSummary": {
"type": "object"
}
}
}{
"title": "Get MCP server details",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}koskamo_report_mcp_outcome — Report whether an MCP server worked
After using an MCP server listed on Koskamo, say whether it worked for your task: success, partial or failure, optionally for one tool. Only daily counts per listing and tool are kept (no text, IP or client), one signal per caller per listing per hour. Returns the listing's 30-day totals.
{
"type": "object",
"required": [
"server_id",
"outcome"
],
"properties": {
"outcome": {
"enum": [
"success",
"partial",
"failure"
],
"type": "string",
"description": "success, partial or failure"
},
"server_id": {
"type": "string",
"maxLength": 64,
"description": "Directory listing id of the server you used"
},
"tool_name": {
"type": "string",
"maxLength": 128,
"description": "Exact name of the tool you called; omit for the server as a whole"
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"server_id",
"window_days",
"success",
"partial",
"failure",
"total",
"tools"
],
"properties": {
"note": {
"type": "string"
},
"tools": {
"type": "array",
"items": {
"type": "object",
"required": [
"tool_name",
"success",
"partial",
"failure",
"total"
],
"properties": {
"total": {
"type": "integer"
},
"failure": {
"type": "integer"
},
"partial": {
"type": "integer"
},
"success": {
"type": "integer"
},
"tool_name": {
"type": "string"
}
}
}
},
"total": {
"type": "integer"
},
"failure": {
"type": "integer"
},
"partial": {
"type": "integer"
},
"success": {
"type": "integer"
},
"server_id": {
"type": "string"
},
"window_days": {
"type": "integer"
}
}
}{
"title": "Report whether an MCP server worked",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}koskamo_list_mcp_directory_changes — Follow MCP directory changes
Read the public change feed of the MCP directory, oldest first: listings updated or removed and issues reported, acknowledged, fixed, declined, reopened or closed. Events carry ids, statuses and counts only. Pass after with the previous next_cursor to continue; optionally filter by server_id.
{
"type": "object",
"properties": {
"after": {
"type": "integer",
"minimum": 0,
"description": "Cursor from the previous next_cursor; 0 starts at the oldest retained event"
},
"limit": {
"type": "integer",
"default": 50,
"maximum": 200,
"minimum": 1,
"description": "Events per page"
},
"server_id": {
"type": "string",
"maxLength": 80,
"description": "Only events for this directory listing id"
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"events",
"next_cursor",
"has_more"
],
"properties": {
"events": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"type",
"server_id",
"created_at",
"listing_url",
"data"
],
"properties": {
"id": {
"type": "integer"
},
"data": {
"type": "object"
},
"type": {
"enum": [
"listing.updated",
"listing.removed",
"issue.reported",
"issue.acknowledged",
"issue.fixed",
"issue.wont_fix",
"issue.reopened",
"issue.closed"
],
"type": "string"
},
"server_id": {
"type": "string"
},
"created_at": {
"type": "string"
},
"listing_url": {
"type": "string"
}
}
}
},
"has_more": {
"type": "boolean"
},
"next_cursor": {
"type": "integer"
}
}
}{
"title": "Follow MCP directory changes",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}koskamo_get_reference_schema — Inspect structured reference schemas
Read supported reference datasets, fixed columns, operators and limits. No inputs, writes or charges. Stored schemas do not establish source freshness or independent factual verification.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {},
"additionalProperties": false
}{
"type": "object",
"anyOf": [
{
"type": "object",
"required": [
"schema_version",
"kind",
"request_id",
"generated_at",
"context",
"data",
"warnings",
"next_actions"
],
"properties": {
"data": {
"type": "object",
"required": [
"schema_version",
"datasets"
],
"properties": {
"datasets": {
"type": "array",
"items": {
"type": "object",
"required": [
"dataset",
"columns",
"operators",
"limit_max",
"scope",
"limitations"
],
"properties": {
"scope": {
"type": "string",
"const": "public_stored_source_versions"
},
"columns": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"type",
"unit"
],
"properties": {
"id": {
"type": "string"
},
"type": {
"enum": [
"integer",
"nullable_integer",
"text",
"nullable_text",
"boolean",
"reported_decimal",
"nullable_decimal_string"
],
"type": "string"
},
"unit": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"dataset": {
"enum": [
"http-status-codes",
"periodic-table",
"codata-constants"
],
"type": "string"
},
"limit_max": {
"type": "number",
"const": 50
},
"operators": {
"type": "object",
"required": [
"text",
"integer",
"boolean"
],
"properties": {
"text": {
"type": "array",
"items": {
"enum": [
"eq",
"contains"
],
"type": "string"
}
},
"boolean": {
"type": "array",
"items": {
"type": "string",
"const": "eq"
}
},
"integer": {
"type": "array",
"items": {
"enum": [
"eq",
"gte",
"lte"
],
"type": "string"
}
}
},
"additionalProperties": false
},
"limitations": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"schema_version": {
"type": "string",
"const": "1.0.0"
}
},
"additionalProperties": false
},
"kind": {
"type": "string",
"const": "record"
},
"context": {
"type": "object",
"required": [
"app_id",
"tenant_ref",
"environment",
"timezone"
],
"properties": {
"app_id": {
"type": "string",
"const": "koskamo"
},
"timezone": {
"type": "string",
"const": "UTC"
},
"tenant_ref": {
"type": "null"
},
"environment": {
"enum": [
"public",
"production",
"sandbox"
],
"type": "string"
}
},
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source_id",
"observed_at",
"retrieved_at",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"unknown"
],
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1
},
"source_url": {
"type": "string",
"format": "uri"
},
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"retrieved_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"source_version": {
"type": "string"
}
},
"additionalProperties": false
}
},
"request_id": {
"type": "string",
"minLength": 1
},
"generated_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"next_actions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"tool_name",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "call_tool"
},
"reason": {
"type": "string"
},
"tool_name": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"url",
"reason"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"const": "open_url"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"fields",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "provide_input"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"retry_after_ms",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "wait"
},
"reason": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}
]
}
},
"schema_version": {
"type": "string",
"const": "1.0.0"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"schema_version",
"kind",
"request_id",
"generated_at",
"context",
"data",
"warnings",
"next_actions"
],
"properties": {
"data": {
"type": "object",
"required": [
"code",
"message",
"effects",
"retry_strategy"
],
"properties": {
"code": {
"enum": [
"invalid_input",
"unauthenticated",
"permission_denied",
"consent_required",
"ambiguous_target",
"not_found",
"unsupported_capability",
"configuration_required",
"integration_expired",
"stale_data",
"version_conflict",
"approval_required",
"approval_expired",
"idempotency_conflict",
"rate_limited",
"quota_exceeded",
"provider_unavailable",
"outcome_unknown",
"reconciliation_required",
"cursor_expired",
"artifact_expired",
"internal_error"
],
"type": "string"
},
"effects": {
"enum": [
"none",
"committed",
"partial",
"unknown"
],
"type": "string"
},
"message": {
"type": "string"
},
"domain_code": {
"type": "string"
},
"field_errors": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"message"
],
"properties": {
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"operation_id": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"retry_strategy": {
"enum": [
"never",
"same_request",
"after_delay",
"after_correction",
"reconcile_first"
],
"type": "string"
}
},
"additionalProperties": false
},
"kind": {
"type": "string",
"const": "error"
},
"context": {
"type": "object",
"required": [
"app_id",
"tenant_ref",
"environment",
"timezone"
],
"properties": {
"app_id": {
"type": "string",
"const": "koskamo"
},
"timezone": {
"type": "string",
"const": "UTC"
},
"tenant_ref": {
"type": "null"
},
"environment": {
"enum": [
"public",
"production",
"sandbox"
],
"type": "string"
}
},
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source_id",
"observed_at",
"retrieved_at",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"unknown"
],
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1
},
"source_url": {
"type": "string",
"format": "uri"
},
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"retrieved_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"source_version": {
"type": "string"
}
},
"additionalProperties": false
}
},
"request_id": {
"type": "string",
"minLength": 1
},
"generated_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"next_actions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"tool_name",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "call_tool"
},
"reason": {
"type": "string"
},
"tool_name": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"url",
"reason"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"const": "open_url"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"fields",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "provide_input"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"retry_after_ms",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "wait"
},
"reason": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}
]
}
},
"schema_version": {
"type": "string",
"const": "1.0.0"
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}{
"title": "Inspect structured reference schemas",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}koskamo_query_reference — Query cited reference fields
Filter one supported public reference dataset using its typed fields. Requires a dataset and optional bounded filters, ordering and cursor. Returns matching rows, exact source versions and decimal strings without SQL, cross-unit arithmetic, writes or charges. Source changes expire paging cursors.
{
"type": "object",
"oneOf": [
{
"type": "object",
"required": [
"dataset"
],
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 50,
"minimum": 1,
"description": "Maximum reference rows to return in this page, from 1 to 50."
},
"cursor": {
"type": "string",
"maxLength": 2048,
"description": "Opaque next_cursor from the same dataset, filters, ordering and source snapshot."
},
"dataset": {
"type": "string",
"const": "http-status-codes",
"description": "Query the public HTTP status-code reference dataset."
},
"filters": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"required": [
"column",
"operator",
"value"
],
"properties": {
"value": {
"type": "integer",
"maximum": 599,
"minimum": 100,
"description": "HTTP status code from 100 to 599 to compare."
},
"column": {
"type": "string",
"const": "code",
"description": "HTTP status code field."
},
"operator": {
"enum": [
"eq",
"gte",
"lte"
],
"type": "string",
"description": "Integer equality, lower bound or upper bound comparison."
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"column",
"operator",
"value"
],
"properties": {
"value": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Text to compare against the selected HTTP field."
},
"column": {
"enum": [
"reason",
"class_name"
],
"type": "string",
"description": "HTTP reason phrase or response class field."
},
"operator": {
"enum": [
"eq",
"contains"
],
"type": "string",
"description": "Exact text equality or substring containment."
}
},
"additionalProperties": false
}
]
},
"default": [],
"maxItems": 8,
"description": "Up to eight HTTP field comparisons, combined with AND."
},
"order_by": {
"enum": [
"code",
"reason"
],
"type": "string",
"default": "code",
"description": "HTTP field used to order rows."
},
"direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "asc",
"description": "Ascending or descending row ordering."
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"dataset"
],
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 50,
"minimum": 1,
"description": "Maximum reference rows to return in this page, from 1 to 50."
},
"cursor": {
"type": "string",
"maxLength": 2048,
"description": "Opaque next_cursor from the same dataset, filters, ordering and source snapshot."
},
"dataset": {
"type": "string",
"const": "periodic-table",
"description": "Query the public periodic-table reference dataset."
},
"filters": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"required": [
"column",
"operator",
"value"
],
"properties": {
"value": {
"type": "integer",
"maximum": 118,
"minimum": 1,
"description": "Integer to compare against the selected element field."
},
"column": {
"enum": [
"atomic_number",
"group",
"period"
],
"type": "string",
"description": "Periodic-table integer field."
},
"operator": {
"enum": [
"eq",
"gte",
"lte"
],
"type": "string",
"description": "Integer equality, lower bound or upper bound comparison."
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"column",
"operator",
"value"
],
"properties": {
"value": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Text to compare against the selected element field."
},
"column": {
"enum": [
"name",
"symbol",
"standard_state"
],
"type": "string",
"description": "Periodic-table text field."
},
"operator": {
"enum": [
"eq",
"contains"
],
"type": "string",
"description": "Exact text equality or substring containment."
}
},
"additionalProperties": false
}
]
},
"default": [],
"maxItems": 8,
"description": "Up to eight element field comparisons, combined with AND."
},
"order_by": {
"enum": [
"atomic_number",
"name",
"symbol",
"group",
"period"
],
"type": "string",
"default": "atomic_number",
"description": "Element field used to order rows."
},
"direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "asc",
"description": "Ascending or descending row ordering."
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"dataset"
],
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 50,
"minimum": 1,
"description": "Maximum reference rows to return in this page, from 1 to 50."
},
"cursor": {
"type": "string",
"maxLength": 2048,
"description": "Opaque next_cursor from the same dataset, filters, ordering and source snapshot."
},
"dataset": {
"type": "string",
"const": "codata-constants",
"description": "Query the public CODATA constants reference dataset."
},
"filters": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"required": [
"column",
"operator",
"value"
],
"properties": {
"value": {
"type": "string",
"maxLength": 160,
"minLength": 1,
"description": "Text to compare against the selected CODATA field."
},
"column": {
"enum": [
"quantity",
"unit"
],
"type": "string",
"description": "CODATA quantity name or source-reported unit field."
},
"operator": {
"enum": [
"eq",
"contains"
],
"type": "string",
"description": "Exact text equality or substring containment."
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"column",
"operator",
"value"
],
"properties": {
"value": {
"type": "boolean",
"description": "Boolean value required for the selected source-status field."
},
"column": {
"enum": [
"exact",
"truncated"
],
"type": "string",
"description": "Whether the source declares an exact value or truncates its reported digits."
},
"operator": {
"type": "string",
"const": "eq",
"description": "Boolean equality; numeric comparisons are unsupported."
}
},
"additionalProperties": false
}
]
},
"default": [],
"maxItems": 8,
"description": "Up to eight CODATA field comparisons, combined with AND; cross-unit numeric comparisons are unsupported."
},
"order_by": {
"enum": [
"quantity",
"unit"
],
"type": "string",
"default": "quantity",
"description": "CODATA field used to order rows."
},
"direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "asc",
"description": "Ascending or descending row ordering."
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 50,
"minimum": 1,
"description": "Maximum reference rows to return in this page, from 1 to 50."
},
"cursor": {
"type": "string",
"maxLength": 2048,
"description": "Opaque next_cursor from the same dataset, filters, ordering and source snapshot."
},
"dataset": {
"anyOf": [
{
"type": "string",
"const": "http-status-codes",
"description": "Query the public HTTP status-code reference dataset."
},
{
"type": "string",
"const": "periodic-table",
"description": "Query the public periodic-table reference dataset."
},
{
"type": "string",
"const": "codata-constants",
"description": "Query the public CODATA constants reference dataset."
}
],
"description": "Public reference dataset to query: HTTP status codes, periodic-table elements or CODATA constants."
},
"filters": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"required": [
"column",
"operator",
"value"
],
"properties": {
"value": {
"type": "integer",
"maximum": 599,
"minimum": 100,
"description": "HTTP status code from 100 to 599 to compare."
},
"column": {
"type": "string",
"const": "code",
"description": "HTTP status code field."
},
"operator": {
"enum": [
"eq",
"gte",
"lte"
],
"type": "string",
"description": "Integer equality, lower bound or upper bound comparison."
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"column",
"operator",
"value"
],
"properties": {
"value": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Text to compare against the selected HTTP field."
},
"column": {
"enum": [
"reason",
"class_name"
],
"type": "string",
"description": "HTTP reason phrase or response class field."
},
"operator": {
"enum": [
"eq",
"contains"
],
"type": "string",
"description": "Exact text equality or substring containment."
}
},
"additionalProperties": false
}
]
},
"default": [],
"maxItems": 8,
"description": "Up to eight HTTP field comparisons, combined with AND."
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"required": [
"column",
"operator",
"value"
],
"properties": {
"value": {
"type": "integer",
"maximum": 118,
"minimum": 1,
"description": "Integer to compare against the selected element field."
},
"column": {
"enum": [
"atomic_number",
"group",
"period"
],
"type": "string",
"description": "Periodic-table integer field."
},
"operator": {
"enum": [
"eq",
"gte",
"lte"
],
"type": "string",
"description": "Integer equality, lower bound or upper bound comparison."
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"column",
"operator",
"value"
],
"properties": {
"value": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Text to compare against the selected element field."
},
"column": {
"enum": [
"name",
"symbol",
"standard_state"
],
"type": "string",
"description": "Periodic-table text field."
},
"operator": {
"enum": [
"eq",
"contains"
],
"type": "string",
"description": "Exact text equality or substring containment."
}
},
"additionalProperties": false
}
]
},
"default": [],
"maxItems": 8,
"description": "Up to eight element field comparisons, combined with AND."
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"required": [
"column",
"operator",
"value"
],
"properties": {
"value": {
"type": "string",
"maxLength": 160,
"minLength": 1,
"description": "Text to compare against the selected CODATA field."
},
"column": {
"enum": [
"quantity",
"unit"
],
"type": "string",
"description": "CODATA quantity name or source-reported unit field."
},
"operator": {
"enum": [
"eq",
"contains"
],
"type": "string",
"description": "Exact text equality or substring containment."
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"column",
"operator",
"value"
],
"properties": {
"value": {
"type": "boolean",
"description": "Boolean value required for the selected source-status field."
},
"column": {
"enum": [
"exact",
"truncated"
],
"type": "string",
"description": "Whether the source declares an exact value or truncates its reported digits."
},
"operator": {
"type": "string",
"const": "eq",
"description": "Boolean equality; numeric comparisons are unsupported."
}
},
"additionalProperties": false
}
]
},
"default": [],
"maxItems": 8,
"description": "Up to eight CODATA field comparisons, combined with AND; cross-unit numeric comparisons are unsupported."
}
],
"description": "Up to eight field comparisons for the selected dataset, combined with AND. Cross-unit numeric comparisons are unsupported."
},
"order_by": {
"anyOf": [
{
"enum": [
"code",
"reason"
],
"type": "string",
"default": "code",
"description": "HTTP field used to order rows."
},
{
"enum": [
"atomic_number",
"name",
"symbol",
"group",
"period"
],
"type": "string",
"default": "atomic_number",
"description": "Element field used to order rows."
},
{
"enum": [
"quantity",
"unit"
],
"type": "string",
"default": "quantity",
"description": "CODATA field used to order rows."
}
],
"description": "Field from the selected dataset used to order reference rows."
},
"direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "asc",
"description": "Ascending or descending row ordering."
}
},
"additionalProperties": false
}{
"type": "object",
"anyOf": [
{
"type": "object",
"required": [
"schema_version",
"kind",
"request_id",
"generated_at",
"context",
"data",
"warnings",
"next_actions"
],
"properties": {
"data": {
"oneOf": [
{
"type": "object",
"required": [
"items",
"page",
"completeness",
"omissions",
"dataset",
"schema_version",
"snapshot_ref",
"dataset_id",
"dataset_version",
"dataset_reviewed_at",
"source_observed_at",
"source_document_count"
],
"properties": {
"page": {
"type": "object",
"required": [
"returned_count",
"total_count",
"has_more",
"next_cursor",
"consistency"
],
"properties": {
"has_more": {
"type": "boolean"
},
"consistency": {
"type": "string",
"const": "snapshot"
},
"next_cursor": {
"type": [
"string",
"null"
]
},
"snapshot_id": {
"type": "string"
},
"total_count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"returned_count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"snapshot_expires_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"additionalProperties": false
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"reason",
"class_name",
"registry_note",
"defined_in",
"source"
],
"properties": {
"code": {
"type": "integer",
"maximum": 599,
"minimum": 100
},
"reason": {
"type": [
"string",
"null"
]
},
"source": {
"type": "object",
"required": [
"document_id",
"document_version",
"content_hash",
"document_version_at",
"source_url",
"app_url"
],
"properties": {
"app_url": {
"type": "string",
"format": "uri"
},
"source_url": {
"type": "string",
"format": "uri"
},
"document_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"content_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"document_version": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"document_version_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"additionalProperties": false
},
"class_name": {
"type": "string"
},
"defined_in": {
"type": "string"
},
"registry_note": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"dataset": {
"type": "string",
"const": "http-status-codes"
},
"omissions": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"reason",
"count"
],
"properties": {
"code": {
"type": "string"
},
"count": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
]
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"dataset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"completeness": {
"type": "string",
"const": "complete"
},
"snapshot_ref": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"schema_version": {
"type": "string",
"const": "1.0.0"
},
"dataset_version": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"source_observed_at": {
"type": "null"
},
"dataset_reviewed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"source_document_count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"items",
"page",
"completeness",
"omissions",
"dataset",
"schema_version",
"snapshot_ref",
"dataset_id",
"dataset_version",
"dataset_reviewed_at",
"source_observed_at",
"source_document_count"
],
"properties": {
"page": {
"type": "object",
"required": [
"returned_count",
"total_count",
"has_more",
"next_cursor",
"consistency"
],
"properties": {
"has_more": {
"type": "boolean"
},
"consistency": {
"type": "string",
"const": "snapshot"
},
"next_cursor": {
"type": [
"string",
"null"
]
},
"snapshot_id": {
"type": "string"
},
"total_count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"returned_count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"snapshot_expires_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"additionalProperties": false
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"atomic_number",
"name",
"symbol",
"group",
"period",
"standard_state",
"atomic_mass",
"source"
],
"properties": {
"name": {
"type": "string"
},
"group": {
"anyOf": [
{
"type": "integer",
"maximum": 18,
"minimum": 1
},
{
"type": "null"
}
]
},
"period": {
"type": "integer",
"maximum": 7,
"minimum": 1
},
"source": {
"type": "object",
"required": [
"document_id",
"document_version",
"content_hash",
"document_version_at",
"source_url",
"app_url"
],
"properties": {
"app_url": {
"type": "string",
"format": "uri"
},
"source_url": {
"type": "string",
"format": "uri"
},
"document_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"content_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"document_version": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"document_version_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"additionalProperties": false
},
"symbol": {
"type": "string"
},
"atomic_mass": {
"anyOf": [
{
"type": "object",
"required": [
"reported",
"decimal",
"unit"
],
"properties": {
"unit": {
"type": "string"
},
"decimal": {
"anyOf": [
{
"type": "string",
"pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
"maxLength": 1024
},
{
"type": "null"
}
]
},
"reported": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"atomic_number": {
"type": "integer",
"maximum": 118,
"minimum": 1
},
"standard_state": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"dataset": {
"type": "string",
"const": "periodic-table"
},
"omissions": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"reason",
"count"
],
"properties": {
"code": {
"type": "string"
},
"count": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
]
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"dataset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"completeness": {
"type": "string",
"const": "complete"
},
"snapshot_ref": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"schema_version": {
"type": "string",
"const": "1.0.0"
},
"dataset_version": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"source_observed_at": {
"type": "null"
},
"dataset_reviewed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"source_document_count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"items",
"page",
"completeness",
"omissions",
"dataset",
"schema_version",
"snapshot_ref",
"dataset_id",
"dataset_version",
"dataset_reviewed_at",
"source_observed_at",
"source_document_count"
],
"properties": {
"page": {
"type": "object",
"required": [
"returned_count",
"total_count",
"has_more",
"next_cursor",
"consistency"
],
"properties": {
"has_more": {
"type": "boolean"
},
"consistency": {
"type": "string",
"const": "snapshot"
},
"next_cursor": {
"type": [
"string",
"null"
]
},
"snapshot_id": {
"type": "string"
},
"total_count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"returned_count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"snapshot_expires_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"additionalProperties": false
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"quantity",
"reported_value",
"decimal_value",
"unit",
"exact",
"truncated",
"reported_uncertainty",
"decimal_uncertainty",
"source"
],
"properties": {
"unit": {
"type": "string"
},
"exact": {
"type": "boolean"
},
"source": {
"type": "object",
"required": [
"document_id",
"document_version",
"content_hash",
"document_version_at",
"source_url",
"app_url"
],
"properties": {
"app_url": {
"type": "string",
"format": "uri"
},
"source_url": {
"type": "string",
"format": "uri"
},
"document_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"content_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"document_version": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"document_version_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"additionalProperties": false
},
"quantity": {
"type": "string"
},
"truncated": {
"type": "boolean"
},
"decimal_value": {
"anyOf": [
{
"type": "string",
"pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
"maxLength": 1024
},
{
"type": "null"
}
]
},
"reported_value": {
"type": "string"
},
"decimal_uncertainty": {
"anyOf": [
{
"type": "string",
"pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
"maxLength": 1024
},
{
"type": "null"
}
]
},
"reported_uncertainty": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"dataset": {
"type": "string",
"const": "codata-constants"
},
"omissions": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"reason",
"count"
],
"properties": {
"code": {
"type": "string"
},
"count": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
]
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"dataset_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"completeness": {
"type": "string",
"const": "complete"
},
"snapshot_ref": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"schema_version": {
"type": "string",
"const": "1.0.0"
},
"dataset_version": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"source_observed_at": {
"type": "null"
},
"dataset_reviewed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"source_document_count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}
]
},
"kind": {
"type": "string",
"const": "collection"
},
"context": {
"type": "object",
"required": [
"app_id",
"tenant_ref",
"environment",
"timezone"
],
"properties": {
"app_id": {
"type": "string",
"const": "koskamo"
},
"timezone": {
"type": "string",
"const": "UTC"
},
"tenant_ref": {
"type": "null"
},
"environment": {
"enum": [
"public",
"production",
"sandbox"
],
"type": "string"
}
},
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source_id",
"observed_at",
"retrieved_at",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"unknown"
],
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1
},
"source_url": {
"type": "string",
"format": "uri"
},
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"retrieved_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"source_version": {
"type": "string"
}
},
"additionalProperties": false
}
},
"request_id": {
"type": "string",
"minLength": 1
},
"generated_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"next_actions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"tool_name",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "call_tool"
},
"reason": {
"type": "string"
},
"tool_name": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"url",
"reason"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"const": "open_url"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"fields",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "provide_input"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"retry_after_ms",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "wait"
},
"reason": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}
]
}
},
"schema_version": {
"type": "string",
"const": "1.0.0"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"schema_version",
"kind",
"request_id",
"generated_at",
"context",
"data",
"warnings",
"next_actions"
],
"properties": {
"data": {
"type": "object",
"required": [
"code",
"message",
"effects",
"retry_strategy"
],
"properties": {
"code": {
"enum": [
"invalid_input",
"unauthenticated",
"permission_denied",
"consent_required",
"ambiguous_target",
"not_found",
"unsupported_capability",
"configuration_required",
"integration_expired",
"stale_data",
"version_conflict",
"approval_required",
"approval_expired",
"idempotency_conflict",
"rate_limited",
"quota_exceeded",
"provider_unavailable",
"outcome_unknown",
"reconciliation_required",
"cursor_expired",
"artifact_expired",
"internal_error"
],
"type": "string"
},
"effects": {
"enum": [
"none",
"committed",
"partial",
"unknown"
],
"type": "string"
},
"message": {
"type": "string"
},
"domain_code": {
"type": "string"
},
"field_errors": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"message"
],
"properties": {
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"operation_id": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"retry_strategy": {
"enum": [
"never",
"same_request",
"after_delay",
"after_correction",
"reconcile_first"
],
"type": "string"
}
},
"additionalProperties": false
},
"kind": {
"type": "string",
"const": "error"
},
"context": {
"type": "object",
"required": [
"app_id",
"tenant_ref",
"environment",
"timezone"
],
"properties": {
"app_id": {
"type": "string",
"const": "koskamo"
},
"timezone": {
"type": "string",
"const": "UTC"
},
"tenant_ref": {
"type": "null"
},
"environment": {
"enum": [
"public",
"production",
"sandbox"
],
"type": "string"
}
},
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source_id",
"observed_at",
"retrieved_at",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"unknown"
],
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1
},
"source_url": {
"type": "string",
"format": "uri"
},
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"retrieved_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"source_version": {
"type": "string"
}
},
"additionalProperties": false
}
},
"request_id": {
"type": "string",
"minLength": 1
},
"generated_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"next_actions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"tool_name",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "call_tool"
},
"reason": {
"type": "string"
},
"tool_name": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"url",
"reason"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"const": "open_url"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"fields",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "provide_input"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"retry_after_ms",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "wait"
},
"reason": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}
]
}
},
"schema_version": {
"type": "string",
"const": "1.0.0"
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}{
"title": "Query cited reference fields",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}koskamo_search_use_cases — Find cited informational recipes
Find published cited use cases by task or linked directory server. These are informational recipes, separate from installed executable playbooks and provider grants.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"query": {
"type": "string",
"default": "",
"maxLength": 200,
"description": "Search published informational recipes by task or topic."
},
"cursor": {
"type": "string",
"maxLength": 2048,
"description": "Opaque cursor returned by the previous page; keep the same query and server filter."
},
"server_id": {
"type": "string",
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"maxLength": 64,
"description": "Optionally limit results to a published directory server ID."
}
},
"additionalProperties": false
}{
"type": "object",
"anyOf": [
{
"type": "object",
"required": [
"schema_version",
"kind",
"request_id",
"generated_at",
"context",
"data",
"warnings",
"next_actions"
],
"properties": {
"data": {
"type": "object",
"required": [
"items",
"page",
"completeness",
"omissions"
],
"properties": {
"page": {
"type": "object",
"required": [
"returned_count",
"total_count",
"has_more",
"next_cursor",
"consistency"
],
"properties": {
"has_more": {
"type": "boolean"
},
"consistency": {
"enum": [
"snapshot",
"live"
],
"type": "string"
},
"next_cursor": {
"type": [
"string",
"null"
]
},
"snapshot_id": {
"type": "string"
},
"total_count": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
]
},
"returned_count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"snapshot_expires_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"additionalProperties": false
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"use_case_id",
"title",
"outcome",
"server_ids",
"mode",
"executable",
"app_url"
],
"properties": {
"mode": {
"type": "string",
"const": "informational"
},
"title": {
"type": "string"
},
"app_url": {
"type": "string",
"format": "uri"
},
"outcome": {
"type": "string"
},
"executable": {
"type": "boolean",
"const": false
},
"server_ids": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 5
},
"use_case_id": {
"type": "string"
}
},
"additionalProperties": false
}
},
"omissions": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"reason",
"count"
],
"properties": {
"code": {
"type": "string"
},
"count": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
]
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"completeness": {
"enum": [
"complete",
"partial",
"unavailable"
],
"type": "string"
}
},
"additionalProperties": false
},
"kind": {
"type": "string",
"const": "collection"
},
"context": {
"type": "object",
"required": [
"app_id",
"tenant_ref",
"environment",
"timezone"
],
"properties": {
"app_id": {
"type": "string",
"const": "koskamo"
},
"timezone": {
"type": "string",
"const": "UTC"
},
"tenant_ref": {
"type": "null"
},
"environment": {
"enum": [
"public",
"production",
"sandbox"
],
"type": "string"
}
},
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source_id",
"observed_at",
"retrieved_at",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"unknown"
],
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1
},
"source_url": {
"type": "string",
"format": "uri"
},
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"retrieved_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"source_version": {
"type": "string"
}
},
"additionalProperties": false
}
},
"request_id": {
"type": "string",
"minLength": 1
},
"generated_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"next_actions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"tool_name",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "call_tool"
},
"reason": {
"type": "string"
},
"tool_name": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"url",
"reason"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"const": "open_url"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"fields",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "provide_input"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"retry_after_ms",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "wait"
},
"reason": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}
]
}
},
"schema_version": {
"type": "string",
"const": "1.0.0"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"schema_version",
"kind",
"request_id",
"generated_at",
"context",
"data",
"warnings",
"next_actions"
],
"properties": {
"data": {
"type": "object",
"required": [
"code",
"message",
"effects",
"retry_strategy"
],
"properties": {
"code": {
"enum": [
"invalid_input",
"unauthenticated",
"permission_denied",
"consent_required",
"ambiguous_target",
"not_found",
"unsupported_capability",
"configuration_required",
"integration_expired",
"stale_data",
"version_conflict",
"approval_required",
"approval_expired",
"idempotency_conflict",
"rate_limited",
"quota_exceeded",
"provider_unavailable",
"outcome_unknown",
"reconciliation_required",
"cursor_expired",
"artifact_expired",
"internal_error"
],
"type": "string"
},
"effects": {
"enum": [
"none",
"committed",
"partial",
"unknown"
],
"type": "string"
},
"message": {
"type": "string"
},
"domain_code": {
"type": "string"
},
"field_errors": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"message"
],
"properties": {
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"operation_id": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"retry_strategy": {
"enum": [
"never",
"same_request",
"after_delay",
"after_correction",
"reconcile_first"
],
"type": "string"
}
},
"additionalProperties": false
},
"kind": {
"type": "string",
"const": "error"
},
"context": {
"type": "object",
"required": [
"app_id",
"tenant_ref",
"environment",
"timezone"
],
"properties": {
"app_id": {
"type": "string",
"const": "koskamo"
},
"timezone": {
"type": "string",
"const": "UTC"
},
"tenant_ref": {
"type": "null"
},
"environment": {
"enum": [
"public",
"production",
"sandbox"
],
"type": "string"
}
},
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source_id",
"observed_at",
"retrieved_at",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"unknown"
],
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1
},
"source_url": {
"type": "string",
"format": "uri"
},
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"retrieved_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"source_version": {
"type": "string"
}
},
"additionalProperties": false
}
},
"request_id": {
"type": "string",
"minLength": 1
},
"generated_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"next_actions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"tool_name",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "call_tool"
},
"reason": {
"type": "string"
},
"tool_name": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"url",
"reason"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"const": "open_url"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"fields",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "provide_input"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"retry_after_ms",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "wait"
},
"reason": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}
]
}
},
"schema_version": {
"type": "string",
"const": "1.0.0"
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}{
"title": "Find cited informational recipes",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}koskamo_get_use_case — Read a cited informational recipe
Read a published recipe, its reusable prompt, linked servers and supporting vendor quote. The record is informational and does not authorize any external action.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"use_case_id"
],
"properties": {
"use_case_id": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "ID of a published informational recipe to read."
}
},
"additionalProperties": false
}{
"type": "object",
"anyOf": [
{
"type": "object",
"required": [
"schema_version",
"kind",
"request_id",
"generated_at",
"context",
"data",
"warnings",
"next_actions"
],
"properties": {
"data": {
"type": "object",
"required": [
"use_case_id",
"title",
"outcome",
"server_ids",
"mode",
"executable",
"app_url",
"description",
"prompt",
"source_url",
"source_title",
"source_quote",
"content_revision",
"source_observed_at"
],
"properties": {
"mode": {
"type": "string",
"const": "informational"
},
"title": {
"type": "string"
},
"prompt": {
"type": "string"
},
"app_url": {
"type": "string",
"format": "uri"
},
"outcome": {
"type": "string"
},
"executable": {
"type": "boolean",
"const": false
},
"server_ids": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 5
},
"source_url": {
"type": "string",
"format": "uri"
},
"description": {
"type": "string"
},
"use_case_id": {
"type": "string"
},
"source_quote": {
"type": "string"
},
"source_title": {
"type": "string"
},
"content_revision": {
"type": "string"
},
"source_observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"kind": {
"type": "string",
"const": "record"
},
"context": {
"type": "object",
"required": [
"app_id",
"tenant_ref",
"environment",
"timezone"
],
"properties": {
"app_id": {
"type": "string",
"const": "koskamo"
},
"timezone": {
"type": "string",
"const": "UTC"
},
"tenant_ref": {
"type": "null"
},
"environment": {
"enum": [
"public",
"production",
"sandbox"
],
"type": "string"
}
},
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source_id",
"observed_at",
"retrieved_at",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"unknown"
],
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1
},
"source_url": {
"type": "string",
"format": "uri"
},
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"retrieved_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"source_version": {
"type": "string"
}
},
"additionalProperties": false
}
},
"request_id": {
"type": "string",
"minLength": 1
},
"generated_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"next_actions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"tool_name",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "call_tool"
},
"reason": {
"type": "string"
},
"tool_name": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"url",
"reason"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"const": "open_url"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"fields",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "provide_input"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"retry_after_ms",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "wait"
},
"reason": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}
]
}
},
"schema_version": {
"type": "string",
"const": "1.0.0"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"schema_version",
"kind",
"request_id",
"generated_at",
"context",
"data",
"warnings",
"next_actions"
],
"properties": {
"data": {
"type": "object",
"required": [
"code",
"message",
"effects",
"retry_strategy"
],
"properties": {
"code": {
"enum": [
"invalid_input",
"unauthenticated",
"permission_denied",
"consent_required",
"ambiguous_target",
"not_found",
"unsupported_capability",
"configuration_required",
"integration_expired",
"stale_data",
"version_conflict",
"approval_required",
"approval_expired",
"idempotency_conflict",
"rate_limited",
"quota_exceeded",
"provider_unavailable",
"outcome_unknown",
"reconciliation_required",
"cursor_expired",
"artifact_expired",
"internal_error"
],
"type": "string"
},
"effects": {
"enum": [
"none",
"committed",
"partial",
"unknown"
],
"type": "string"
},
"message": {
"type": "string"
},
"domain_code": {
"type": "string"
},
"field_errors": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"message"
],
"properties": {
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"operation_id": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"retry_strategy": {
"enum": [
"never",
"same_request",
"after_delay",
"after_correction",
"reconcile_first"
],
"type": "string"
}
},
"additionalProperties": false
},
"kind": {
"type": "string",
"const": "error"
},
"context": {
"type": "object",
"required": [
"app_id",
"tenant_ref",
"environment",
"timezone"
],
"properties": {
"app_id": {
"type": "string",
"const": "koskamo"
},
"timezone": {
"type": "string",
"const": "UTC"
},
"tenant_ref": {
"type": "null"
},
"environment": {
"enum": [
"public",
"production",
"sandbox"
],
"type": "string"
}
},
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source_id",
"observed_at",
"retrieved_at",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"unknown"
],
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1
},
"source_url": {
"type": "string",
"format": "uri"
},
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"retrieved_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"source_version": {
"type": "string"
}
},
"additionalProperties": false
}
},
"request_id": {
"type": "string",
"minLength": 1
},
"generated_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"next_actions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"tool_name",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "call_tool"
},
"reason": {
"type": "string"
},
"tool_name": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"url",
"reason"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"const": "open_url"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"fields",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "provide_input"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"retry_after_ms",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "wait"
},
"reason": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}
]
}
},
"schema_version": {
"type": "string",
"const": "1.0.0"
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}{
"title": "Read a cited informational recipe",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}koskamo_get_context — Get connection context
Read this connection's public or key-scoped knowledge access and contract versions. No inputs, provider grants, writes, or charges. Private dataset membership is not enumerated.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {},
"additionalProperties": false
}{
"type": "object",
"anyOf": [
{
"type": "object",
"required": [
"schema_version",
"kind",
"request_id",
"generated_at",
"context",
"data",
"warnings",
"next_actions"
],
"properties": {
"data": {
"type": "object",
"required": [
"access_mode",
"principal_ref",
"display_name",
"granted_scopes",
"contract_version",
"toolset_version",
"deployment_ref",
"supported_protocol_versions",
"domain_context"
],
"properties": {
"access_mode": {
"enum": [
"anonymous",
"authenticated"
],
"type": "string"
},
"display_name": {
"type": [
"string",
"null"
]
},
"principal_ref": {
"type": [
"string",
"null"
]
},
"deployment_ref": {
"type": [
"string",
"null"
]
},
"domain_context": {
"type": "object",
"required": [
"knowledge_scope",
"provider_execution",
"installed_adapter_ids"
],
"properties": {
"profile_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"knowledge_scope": {
"enum": [
"public",
"public_and_owned_private"
],
"type": "string"
},
"profile_version": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"provider_execution": {
"type": "string",
"const": "unsupported"
},
"installed_adapter_ids": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 0
}
},
"additionalProperties": false
},
"granted_scopes": {
"type": "array",
"items": {
"type": "string"
}
},
"toolset_version": {
"type": "string"
},
"contract_version": {
"type": "string",
"const": "1.0.0"
},
"supported_protocol_versions": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"kind": {
"type": "string",
"const": "record"
},
"context": {
"type": "object",
"required": [
"app_id",
"tenant_ref",
"environment",
"timezone"
],
"properties": {
"app_id": {
"type": "string",
"const": "koskamo"
},
"timezone": {
"type": "string",
"const": "UTC"
},
"tenant_ref": {
"type": "null"
},
"environment": {
"enum": [
"public",
"production",
"sandbox"
],
"type": "string"
}
},
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source_id",
"observed_at",
"retrieved_at",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"unknown"
],
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1
},
"source_url": {
"type": "string",
"format": "uri"
},
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"retrieved_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"source_version": {
"type": "string"
}
},
"additionalProperties": false
}
},
"request_id": {
"type": "string",
"minLength": 1
},
"generated_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"next_actions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"tool_name",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "call_tool"
},
"reason": {
"type": "string"
},
"tool_name": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"url",
"reason"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"const": "open_url"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"fields",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "provide_input"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"retry_after_ms",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "wait"
},
"reason": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}
]
}
},
"schema_version": {
"type": "string",
"const": "1.0.0"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"schema_version",
"kind",
"request_id",
"generated_at",
"context",
"data",
"warnings",
"next_actions"
],
"properties": {
"data": {
"type": "object",
"required": [
"code",
"message",
"effects",
"retry_strategy"
],
"properties": {
"code": {
"enum": [
"invalid_input",
"unauthenticated",
"permission_denied",
"consent_required",
"ambiguous_target",
"not_found",
"unsupported_capability",
"configuration_required",
"integration_expired",
"stale_data",
"version_conflict",
"approval_required",
"approval_expired",
"idempotency_conflict",
"rate_limited",
"quota_exceeded",
"provider_unavailable",
"outcome_unknown",
"reconciliation_required",
"cursor_expired",
"artifact_expired",
"internal_error"
],
"type": "string"
},
"effects": {
"enum": [
"none",
"committed",
"partial",
"unknown"
],
"type": "string"
},
"message": {
"type": "string"
},
"domain_code": {
"type": "string"
},
"field_errors": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"message"
],
"properties": {
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"operation_id": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"retry_strategy": {
"enum": [
"never",
"same_request",
"after_delay",
"after_correction",
"reconcile_first"
],
"type": "string"
}
},
"additionalProperties": false
},
"kind": {
"type": "string",
"const": "error"
},
"context": {
"type": "object",
"required": [
"app_id",
"tenant_ref",
"environment",
"timezone"
],
"properties": {
"app_id": {
"type": "string",
"const": "koskamo"
},
"timezone": {
"type": "string",
"const": "UTC"
},
"tenant_ref": {
"type": "null"
},
"environment": {
"enum": [
"public",
"production",
"sandbox"
],
"type": "string"
}
},
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source_id",
"observed_at",
"retrieved_at",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"unknown"
],
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1
},
"source_url": {
"type": "string",
"format": "uri"
},
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"retrieved_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"source_version": {
"type": "string"
}
},
"additionalProperties": false
}
},
"request_id": {
"type": "string",
"minLength": 1
},
"generated_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"next_actions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"tool_name",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "call_tool"
},
"reason": {
"type": "string"
},
"tool_name": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"url",
"reason"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"const": "open_url"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"fields",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "provide_input"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"retry_after_ms",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "wait"
},
"reason": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}
]
}
},
"schema_version": {
"type": "string",
"const": "1.0.0"
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}{
"title": "Get connection context",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}koskamo_get_capabilities — Get connection capabilities
Read supported discovery and exact knowledge capabilities with separate configuration and authority states. No inputs, writes, provider execution, or charges. Store availability is not probed.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {},
"additionalProperties": false
}{
"type": "object",
"anyOf": [
{
"type": "object",
"required": [
"schema_version",
"kind",
"request_id",
"generated_at",
"context",
"data",
"warnings",
"next_actions"
],
"properties": {
"data": {
"type": "object",
"required": [
"items",
"page",
"completeness",
"omissions"
],
"properties": {
"page": {
"type": "object",
"required": [
"returned_count",
"total_count",
"has_more",
"next_cursor",
"consistency"
],
"properties": {
"has_more": {
"type": "boolean"
},
"consistency": {
"enum": [
"snapshot",
"live"
],
"type": "string"
},
"next_cursor": {
"type": [
"string",
"null"
]
},
"snapshot_id": {
"type": "string"
},
"total_count": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
]
},
"returned_count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"snapshot_expires_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"additionalProperties": false
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"capability_id",
"tool_names",
"supported",
"configured",
"authorized",
"ready",
"blockers",
"required_scopes",
"effect_class",
"limits",
"observed_at",
"evidence_level"
],
"properties": {
"ready": {
"enum": [
"yes",
"no",
"unknown"
],
"type": "string"
},
"limits": {
"type": "object",
"required": [
"max_page_size",
"max_result_bytes"
],
"properties": {
"max_page_size": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"max_result_bytes": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"additionalProperties": false
},
"blockers": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message",
"next_actions"
],
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"next_actions": {
"type": "array",
"items": {
"not": {}
}
}
},
"additionalProperties": false
}
},
"supported": {
"enum": [
"yes",
"no",
"unknown"
],
"type": "string"
},
"authorized": {
"enum": [
"yes",
"no",
"unknown"
],
"type": "string"
},
"configured": {
"enum": [
"yes",
"no",
"unknown"
],
"type": "string"
},
"tool_names": {
"type": "array",
"items": {
"type": "string"
}
},
"observed_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"effect_class": {
"enum": [
"read",
"preview",
"draft_write",
"internal_write",
"external_write",
"financial_write",
"admin_write"
],
"type": "string"
},
"capability_id": {
"type": "string"
},
"evidence_level": {
"enum": [
"source_only",
"deployed",
"client_verified"
],
"type": "string"
},
"required_scopes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"omissions": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"reason",
"count"
],
"properties": {
"code": {
"type": "string"
},
"count": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
]
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"completeness": {
"enum": [
"complete",
"partial",
"unavailable"
],
"type": "string"
}
},
"additionalProperties": false
},
"kind": {
"type": "string",
"const": "collection"
},
"context": {
"type": "object",
"required": [
"app_id",
"tenant_ref",
"environment",
"timezone"
],
"properties": {
"app_id": {
"type": "string",
"const": "koskamo"
},
"timezone": {
"type": "string",
"const": "UTC"
},
"tenant_ref": {
"type": "null"
},
"environment": {
"enum": [
"public",
"production",
"sandbox"
],
"type": "string"
}
},
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source_id",
"observed_at",
"retrieved_at",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"unknown"
],
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1
},
"source_url": {
"type": "string",
"format": "uri"
},
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"retrieved_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"source_version": {
"type": "string"
}
},
"additionalProperties": false
}
},
"request_id": {
"type": "string",
"minLength": 1
},
"generated_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"next_actions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"tool_name",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "call_tool"
},
"reason": {
"type": "string"
},
"tool_name": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"url",
"reason"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"const": "open_url"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"fields",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "provide_input"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"retry_after_ms",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "wait"
},
"reason": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}
]
}
},
"schema_version": {
"type": "string",
"const": "1.0.0"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"schema_version",
"kind",
"request_id",
"generated_at",
"context",
"data",
"warnings",
"next_actions"
],
"properties": {
"data": {
"type": "object",
"required": [
"code",
"message",
"effects",
"retry_strategy"
],
"properties": {
"code": {
"enum": [
"invalid_input",
"unauthenticated",
"permission_denied",
"consent_required",
"ambiguous_target",
"not_found",
"unsupported_capability",
"configuration_required",
"integration_expired",
"stale_data",
"version_conflict",
"approval_required",
"approval_expired",
"idempotency_conflict",
"rate_limited",
"quota_exceeded",
"provider_unavailable",
"outcome_unknown",
"reconciliation_required",
"cursor_expired",
"artifact_expired",
"internal_error"
],
"type": "string"
},
"effects": {
"enum": [
"none",
"committed",
"partial",
"unknown"
],
"type": "string"
},
"message": {
"type": "string"
},
"domain_code": {
"type": "string"
},
"field_errors": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"message"
],
"properties": {
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"operation_id": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"retry_strategy": {
"enum": [
"never",
"same_request",
"after_delay",
"after_correction",
"reconcile_first"
],
"type": "string"
}
},
"additionalProperties": false
},
"kind": {
"type": "string",
"const": "error"
},
"context": {
"type": "object",
"required": [
"app_id",
"tenant_ref",
"environment",
"timezone"
],
"properties": {
"app_id": {
"type": "string",
"const": "koskamo"
},
"timezone": {
"type": "string",
"const": "UTC"
},
"tenant_ref": {
"type": "null"
},
"environment": {
"enum": [
"public",
"production",
"sandbox"
],
"type": "string"
}
},
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source_id",
"observed_at",
"retrieved_at",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"unknown"
],
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1
},
"source_url": {
"type": "string",
"format": "uri"
},
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"retrieved_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"source_version": {
"type": "string"
}
},
"additionalProperties": false
}
},
"request_id": {
"type": "string",
"minLength": 1
},
"generated_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"next_actions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"tool_name",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "call_tool"
},
"reason": {
"type": "string"
},
"tool_name": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"url",
"reason"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"const": "open_url"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"fields",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "provide_input"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"retry_after_ms",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "wait"
},
"reason": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}
]
}
},
"schema_version": {
"type": "string",
"const": "1.0.0"
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}{
"title": "Get connection capabilities",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}koskamo_get_connection_health — Get connection health
Read this request's authentication state. No inputs, writes, downstream account probes, or charges. Directory storage and provider execution are not checked.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {},
"additionalProperties": false
}{
"type": "object",
"anyOf": [
{
"type": "object",
"required": [
"schema_version",
"kind",
"request_id",
"generated_at",
"context",
"data",
"warnings",
"next_actions"
],
"properties": {
"data": {
"type": "object",
"required": [
"authentication",
"directory_store",
"provider_execution",
"checked_at"
],
"properties": {
"checked_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"authentication": {
"enum": [
"anonymous",
"authenticated"
],
"type": "string"
},
"directory_store": {
"type": "string",
"const": "not_probed"
},
"provider_execution": {
"type": "string",
"const": "unsupported"
}
},
"additionalProperties": false
},
"kind": {
"type": "string",
"const": "record"
},
"context": {
"type": "object",
"required": [
"app_id",
"tenant_ref",
"environment",
"timezone"
],
"properties": {
"app_id": {
"type": "string",
"const": "koskamo"
},
"timezone": {
"type": "string",
"const": "UTC"
},
"tenant_ref": {
"type": "null"
},
"environment": {
"enum": [
"public",
"production",
"sandbox"
],
"type": "string"
}
},
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source_id",
"observed_at",
"retrieved_at",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"unknown"
],
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1
},
"source_url": {
"type": "string",
"format": "uri"
},
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"retrieved_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"source_version": {
"type": "string"
}
},
"additionalProperties": false
}
},
"request_id": {
"type": "string",
"minLength": 1
},
"generated_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"next_actions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"tool_name",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "call_tool"
},
"reason": {
"type": "string"
},
"tool_name": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"url",
"reason"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"const": "open_url"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"fields",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "provide_input"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"retry_after_ms",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "wait"
},
"reason": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}
]
}
},
"schema_version": {
"type": "string",
"const": "1.0.0"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"schema_version",
"kind",
"request_id",
"generated_at",
"context",
"data",
"warnings",
"next_actions"
],
"properties": {
"data": {
"type": "object",
"required": [
"code",
"message",
"effects",
"retry_strategy"
],
"properties": {
"code": {
"enum": [
"invalid_input",
"unauthenticated",
"permission_denied",
"consent_required",
"ambiguous_target",
"not_found",
"unsupported_capability",
"configuration_required",
"integration_expired",
"stale_data",
"version_conflict",
"approval_required",
"approval_expired",
"idempotency_conflict",
"rate_limited",
"quota_exceeded",
"provider_unavailable",
"outcome_unknown",
"reconciliation_required",
"cursor_expired",
"artifact_expired",
"internal_error"
],
"type": "string"
},
"effects": {
"enum": [
"none",
"committed",
"partial",
"unknown"
],
"type": "string"
},
"message": {
"type": "string"
},
"domain_code": {
"type": "string"
},
"field_errors": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"message"
],
"properties": {
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"operation_id": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"retry_strategy": {
"enum": [
"never",
"same_request",
"after_delay",
"after_correction",
"reconcile_first"
],
"type": "string"
}
},
"additionalProperties": false
},
"kind": {
"type": "string",
"const": "error"
},
"context": {
"type": "object",
"required": [
"app_id",
"tenant_ref",
"environment",
"timezone"
],
"properties": {
"app_id": {
"type": "string",
"const": "koskamo"
},
"timezone": {
"type": "string",
"const": "UTC"
},
"tenant_ref": {
"type": "null"
},
"environment": {
"enum": [
"public",
"production",
"sandbox"
],
"type": "string"
}
},
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source_id",
"observed_at",
"retrieved_at",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"unknown"
],
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1
},
"source_url": {
"type": "string",
"format": "uri"
},
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"retrieved_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"source_version": {
"type": "string"
}
},
"additionalProperties": false
}
},
"request_id": {
"type": "string",
"minLength": 1
},
"generated_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"next_actions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"tool_name",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "call_tool"
},
"reason": {
"type": "string"
},
"tool_name": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"url",
"reason"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"const": "open_url"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"fields",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "provide_input"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"retry_after_ms",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "wait"
},
"reason": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}
]
}
},
"schema_version": {
"type": "string",
"const": "1.0.0"
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}{
"title": "Get connection health",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}koskamo_get_task_plan — Find task candidates
Find candidate MCP tools for a task and named host using directory evidence. Requires task and host_id; returns at most five listings per page. Pure read with no charges, installation, account grants, or execution. Task coverage and prerequisites may remain unknown.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"task",
"host_id"
],
"properties": {
"task": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Task or outcome to match against published server listings."
},
"limit": {
"type": "integer",
"default": 5,
"maximum": 5,
"minimum": 1,
"description": "Maximum number of candidate listings to return in this page."
},
"cursor": {
"type": "string",
"maxLength": 2048,
"minLength": 1,
"description": "Opaque continuation cursor returned by the previous page; keep the same resource and filters."
},
"host_id": {
"enum": [
"Claude Code",
"Codex",
"Cursor",
"Cline",
"VS Code",
"Gemini CLI",
"Claude Desktop",
"Windsurf"
],
"type": "string",
"description": "Client host for which setup compatibility is assessed."
}
},
"additionalProperties": false
}{
"type": "object",
"anyOf": [
{
"type": "object",
"required": [
"schema_version",
"kind",
"request_id",
"generated_at",
"context",
"data",
"warnings",
"next_actions"
],
"properties": {
"data": {
"type": "object",
"required": [
"items",
"page",
"completeness",
"omissions"
],
"properties": {
"page": {
"type": "object",
"required": [
"returned_count",
"total_count",
"has_more",
"next_cursor",
"consistency"
],
"properties": {
"has_more": {
"type": "boolean"
},
"consistency": {
"enum": [
"snapshot",
"live"
],
"type": "string"
},
"next_cursor": {
"type": [
"string",
"null"
]
},
"snapshot_id": {
"type": "string"
},
"total_count": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
]
},
"returned_count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"snapshot_expires_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"additionalProperties": false
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"server_id",
"action_id",
"tool_name",
"distribution",
"transport",
"fit_reasons",
"unsupported_parts",
"prerequisites",
"readiness",
"schema_version",
"schema_hash"
],
"properties": {
"action_id": {
"type": [
"string",
"null"
]
},
"readiness": {
"type": "array",
"items": {
"type": "object",
"required": [
"stage",
"state",
"evidence_refs",
"observed_at"
],
"properties": {
"stage": {
"enum": [
"listed",
"documented",
"schema_observed",
"connection_authorized",
"action_permitted",
"action_tested"
],
"type": "string"
},
"state": {
"enum": [
"yes",
"no",
"unknown"
],
"type": "string"
},
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"evidence_refs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"server_id": {
"type": "string",
"maxLength": 256,
"minLength": 1
},
"tool_name": {
"type": [
"string",
"null"
]
},
"transport": {
"type": "string"
},
"fit_reasons": {
"type": "array",
"items": {
"type": "string"
}
},
"schema_hash": {
"type": [
"string",
"null"
]
},
"distribution": {
"enum": [
"remote",
"package"
],
"type": "string"
},
"prerequisites": {
"type": "array",
"items": {
"type": "object",
"required": [
"kind",
"description",
"verified",
"source_ref"
],
"properties": {
"kind": {
"enum": [
"account",
"plan",
"scope",
"admin_consent",
"runtime",
"region"
],
"type": "string"
},
"verified": {
"type": "boolean"
},
"source_ref": {
"type": [
"string",
"null"
]
},
"description": {
"type": "string"
}
},
"additionalProperties": false
}
},
"schema_version": {
"type": [
"string",
"null"
]
},
"unsupported_parts": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"omissions": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"reason",
"count"
],
"properties": {
"code": {
"type": "string"
},
"count": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
]
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"completeness": {
"enum": [
"complete",
"partial",
"unavailable"
],
"type": "string"
}
},
"additionalProperties": false
},
"kind": {
"type": "string",
"const": "collection"
},
"context": {
"type": "object",
"required": [
"app_id",
"tenant_ref",
"environment",
"timezone"
],
"properties": {
"app_id": {
"type": "string",
"const": "koskamo"
},
"timezone": {
"type": "string",
"const": "UTC"
},
"tenant_ref": {
"type": "null"
},
"environment": {
"enum": [
"public",
"production",
"sandbox"
],
"type": "string"
}
},
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source_id",
"observed_at",
"retrieved_at",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"unknown"
],
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1
},
"source_url": {
"type": "string",
"format": "uri"
},
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"retrieved_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"source_version": {
"type": "string"
}
},
"additionalProperties": false
}
},
"request_id": {
"type": "string",
"minLength": 1
},
"generated_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"next_actions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"tool_name",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "call_tool"
},
"reason": {
"type": "string"
},
"tool_name": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"url",
"reason"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"const": "open_url"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"fields",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "provide_input"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"retry_after_ms",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "wait"
},
"reason": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}
]
}
},
"schema_version": {
"type": "string",
"const": "1.0.0"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"schema_version",
"kind",
"request_id",
"generated_at",
"context",
"data",
"warnings",
"next_actions"
],
"properties": {
"data": {
"type": "object",
"required": [
"code",
"message",
"effects",
"retry_strategy"
],
"properties": {
"code": {
"enum": [
"invalid_input",
"unauthenticated",
"permission_denied",
"consent_required",
"ambiguous_target",
"not_found",
"unsupported_capability",
"configuration_required",
"integration_expired",
"stale_data",
"version_conflict",
"approval_required",
"approval_expired",
"idempotency_conflict",
"rate_limited",
"quota_exceeded",
"provider_unavailable",
"outcome_unknown",
"reconciliation_required",
"cursor_expired",
"artifact_expired",
"internal_error"
],
"type": "string"
},
"effects": {
"enum": [
"none",
"committed",
"partial",
"unknown"
],
"type": "string"
},
"message": {
"type": "string"
},
"domain_code": {
"type": "string"
},
"field_errors": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"message"
],
"properties": {
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"operation_id": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"retry_strategy": {
"enum": [
"never",
"same_request",
"after_delay",
"after_correction",
"reconcile_first"
],
"type": "string"
}
},
"additionalProperties": false
},
"kind": {
"type": "string",
"const": "error"
},
"context": {
"type": "object",
"required": [
"app_id",
"tenant_ref",
"environment",
"timezone"
],
"properties": {
"app_id": {
"type": "string",
"const": "koskamo"
},
"timezone": {
"type": "string",
"const": "UTC"
},
"tenant_ref": {
"type": "null"
},
"environment": {
"enum": [
"public",
"production",
"sandbox"
],
"type": "string"
}
},
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source_id",
"observed_at",
"retrieved_at",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"unknown"
],
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1
},
"source_url": {
"type": "string",
"format": "uri"
},
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"retrieved_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"source_version": {
"type": "string"
}
},
"additionalProperties": false
}
},
"request_id": {
"type": "string",
"minLength": 1
},
"generated_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"next_actions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"tool_name",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "call_tool"
},
"reason": {
"type": "string"
},
"tool_name": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"url",
"reason"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"const": "open_url"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"fields",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "provide_input"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"retry_after_ms",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "wait"
},
"reason": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}
]
}
},
"schema_version": {
"type": "string",
"const": "1.0.0"
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}{
"title": "Find task candidates",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}koskamo_get_readiness — Inspect readiness evidence
Inspect independent listing, source, schema, grant, permission, and tested-action evidence for server_id. Read only, no charges or live downstream actions. A successful probe does not prove account authority or task completion.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"server_id"
],
"properties": {
"server_id": {
"type": "string",
"maxLength": 256,
"minLength": 1,
"description": "ID or slug of the published directory server to assess."
}
},
"additionalProperties": false
}{
"type": "object",
"anyOf": [
{
"type": "object",
"required": [
"schema_version",
"kind",
"request_id",
"generated_at",
"context",
"data",
"warnings",
"next_actions"
],
"properties": {
"data": {
"type": "object",
"required": [
"server_id",
"readiness",
"prerequisites",
"execution_supported"
],
"properties": {
"readiness": {
"type": "array",
"items": {
"type": "object",
"required": [
"stage",
"state",
"evidence_refs",
"observed_at"
],
"properties": {
"stage": {
"enum": [
"listed",
"documented",
"schema_observed",
"connection_authorized",
"action_permitted",
"action_tested"
],
"type": "string"
},
"state": {
"enum": [
"yes",
"no",
"unknown"
],
"type": "string"
},
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"evidence_refs": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"server_id": {
"type": "string",
"maxLength": 256,
"minLength": 1
},
"prerequisites": {
"type": "array",
"items": {
"type": "object",
"required": [
"kind",
"description",
"verified",
"source_ref"
],
"properties": {
"kind": {
"enum": [
"account",
"plan",
"scope",
"admin_consent",
"runtime",
"region"
],
"type": "string"
},
"verified": {
"type": "boolean"
},
"source_ref": {
"type": [
"string",
"null"
]
},
"description": {
"type": "string"
}
},
"additionalProperties": false
}
},
"execution_supported": {
"type": "boolean",
"const": false
}
},
"additionalProperties": false
},
"kind": {
"type": "string",
"const": "record"
},
"context": {
"type": "object",
"required": [
"app_id",
"tenant_ref",
"environment",
"timezone"
],
"properties": {
"app_id": {
"type": "string",
"const": "koskamo"
},
"timezone": {
"type": "string",
"const": "UTC"
},
"tenant_ref": {
"type": "null"
},
"environment": {
"enum": [
"public",
"production",
"sandbox"
],
"type": "string"
}
},
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source_id",
"observed_at",
"retrieved_at",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"unknown"
],
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1
},
"source_url": {
"type": "string",
"format": "uri"
},
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"retrieved_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"source_version": {
"type": "string"
}
},
"additionalProperties": false
}
},
"request_id": {
"type": "string",
"minLength": 1
},
"generated_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"next_actions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"tool_name",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "call_tool"
},
"reason": {
"type": "string"
},
"tool_name": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"url",
"reason"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"const": "open_url"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"fields",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "provide_input"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"retry_after_ms",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "wait"
},
"reason": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}
]
}
},
"schema_version": {
"type": "string",
"const": "1.0.0"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"schema_version",
"kind",
"request_id",
"generated_at",
"context",
"data",
"warnings",
"next_actions"
],
"properties": {
"data": {
"type": "object",
"required": [
"code",
"message",
"effects",
"retry_strategy"
],
"properties": {
"code": {
"enum": [
"invalid_input",
"unauthenticated",
"permission_denied",
"consent_required",
"ambiguous_target",
"not_found",
"unsupported_capability",
"configuration_required",
"integration_expired",
"stale_data",
"version_conflict",
"approval_required",
"approval_expired",
"idempotency_conflict",
"rate_limited",
"quota_exceeded",
"provider_unavailable",
"outcome_unknown",
"reconciliation_required",
"cursor_expired",
"artifact_expired",
"internal_error"
],
"type": "string"
},
"effects": {
"enum": [
"none",
"committed",
"partial",
"unknown"
],
"type": "string"
},
"message": {
"type": "string"
},
"domain_code": {
"type": "string"
},
"field_errors": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"message"
],
"properties": {
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"operation_id": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"retry_strategy": {
"enum": [
"never",
"same_request",
"after_delay",
"after_correction",
"reconcile_first"
],
"type": "string"
}
},
"additionalProperties": false
},
"kind": {
"type": "string",
"const": "error"
},
"context": {
"type": "object",
"required": [
"app_id",
"tenant_ref",
"environment",
"timezone"
],
"properties": {
"app_id": {
"type": "string",
"const": "koskamo"
},
"timezone": {
"type": "string",
"const": "UTC"
},
"tenant_ref": {
"type": "null"
},
"environment": {
"enum": [
"public",
"production",
"sandbox"
],
"type": "string"
}
},
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source_id",
"observed_at",
"retrieved_at",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"unknown"
],
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1
},
"source_url": {
"type": "string",
"format": "uri"
},
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"retrieved_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"source_version": {
"type": "string"
}
},
"additionalProperties": false
}
},
"request_id": {
"type": "string",
"minLength": 1
},
"generated_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"next_actions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"tool_name",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "call_tool"
},
"reason": {
"type": "string"
},
"tool_name": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"url",
"reason"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"const": "open_url"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"fields",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "provide_input"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"retry_after_ms",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "wait"
},
"reason": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}
]
}
},
"schema_version": {
"type": "string",
"const": "1.0.0"
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}{
"title": "Inspect readiness evidence",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}koskamo_get_connection_plan — Get host connection handoff
Generate a manual connection handoff for server_id and host_id from supported setup snippets. Pure read; no charges, saved plan, package installation, credentials, or provider actions. Host installation remains unverified.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"server_id",
"host_id"
],
"properties": {
"host_id": {
"enum": [
"Claude Code",
"Codex",
"Cursor",
"Cline",
"VS Code",
"Gemini CLI",
"Claude Desktop",
"Windsurf"
],
"type": "string",
"description": "Client host for the manual connection setup handoff."
},
"server_id": {
"type": "string",
"maxLength": 256,
"minLength": 1,
"description": "ID or slug of the published directory server."
}
},
"additionalProperties": false
}{
"type": "object",
"anyOf": [
{
"type": "object",
"required": [
"schema_version",
"kind",
"request_id",
"generated_at",
"context",
"data",
"warnings",
"next_actions"
],
"properties": {
"data": {
"type": "object",
"required": [
"server_id",
"host_id",
"transport",
"supported_protocol_versions",
"config_artifact_id",
"setup_url",
"required_input_fields",
"validation_steps",
"install_state",
"configuration",
"blockers"
],
"properties": {
"host_id": {
"enum": [
"Claude Code",
"Codex",
"Cursor",
"Cline",
"VS Code",
"Gemini CLI",
"Claude Desktop",
"Windsurf"
],
"type": "string"
},
"blockers": {
"type": "array",
"items": {
"type": "string"
}
},
"server_id": {
"type": "string",
"maxLength": 256,
"minLength": 1
},
"setup_url": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{
"type": "null"
}
]
},
"transport": {
"type": "string"
},
"configuration": {
"anyOf": [
{
"type": "object",
"required": [
"format",
"content",
"instructions",
"source_url"
],
"properties": {
"format": {
"enum": [
"json",
"command"
],
"type": "string"
},
"content": {
"type": "string"
},
"source_url": {
"type": "string",
"format": "uri"
},
"instructions": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"install_state": {
"enum": [
"not_started",
"handoff_required",
"verified"
],
"type": "string"
},
"validation_steps": {
"type": "array",
"items": {
"type": "string"
}
},
"config_artifact_id": {
"type": "null"
},
"required_input_fields": {
"type": "array",
"items": {
"type": "string"
}
},
"supported_protocol_versions": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"kind": {
"type": "string",
"const": "record"
},
"context": {
"type": "object",
"required": [
"app_id",
"tenant_ref",
"environment",
"timezone"
],
"properties": {
"app_id": {
"type": "string",
"const": "koskamo"
},
"timezone": {
"type": "string",
"const": "UTC"
},
"tenant_ref": {
"type": "null"
},
"environment": {
"enum": [
"public",
"production",
"sandbox"
],
"type": "string"
}
},
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source_id",
"observed_at",
"retrieved_at",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"unknown"
],
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1
},
"source_url": {
"type": "string",
"format": "uri"
},
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"retrieved_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"source_version": {
"type": "string"
}
},
"additionalProperties": false
}
},
"request_id": {
"type": "string",
"minLength": 1
},
"generated_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"next_actions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"tool_name",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "call_tool"
},
"reason": {
"type": "string"
},
"tool_name": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"url",
"reason"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"const": "open_url"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"fields",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "provide_input"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"retry_after_ms",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "wait"
},
"reason": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}
]
}
},
"schema_version": {
"type": "string",
"const": "1.0.0"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"schema_version",
"kind",
"request_id",
"generated_at",
"context",
"data",
"warnings",
"next_actions"
],
"properties": {
"data": {
"type": "object",
"required": [
"code",
"message",
"effects",
"retry_strategy"
],
"properties": {
"code": {
"enum": [
"invalid_input",
"unauthenticated",
"permission_denied",
"consent_required",
"ambiguous_target",
"not_found",
"unsupported_capability",
"configuration_required",
"integration_expired",
"stale_data",
"version_conflict",
"approval_required",
"approval_expired",
"idempotency_conflict",
"rate_limited",
"quota_exceeded",
"provider_unavailable",
"outcome_unknown",
"reconciliation_required",
"cursor_expired",
"artifact_expired",
"internal_error"
],
"type": "string"
},
"effects": {
"enum": [
"none",
"committed",
"partial",
"unknown"
],
"type": "string"
},
"message": {
"type": "string"
},
"domain_code": {
"type": "string"
},
"field_errors": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"message"
],
"properties": {
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"operation_id": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"retry_strategy": {
"enum": [
"never",
"same_request",
"after_delay",
"after_correction",
"reconcile_first"
],
"type": "string"
}
},
"additionalProperties": false
},
"kind": {
"type": "string",
"const": "error"
},
"context": {
"type": "object",
"required": [
"app_id",
"tenant_ref",
"environment",
"timezone"
],
"properties": {
"app_id": {
"type": "string",
"const": "koskamo"
},
"timezone": {
"type": "string",
"const": "UTC"
},
"tenant_ref": {
"type": "null"
},
"environment": {
"enum": [
"public",
"production",
"sandbox"
],
"type": "string"
}
},
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source_id",
"observed_at",
"retrieved_at",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"unknown"
],
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1
},
"source_url": {
"type": "string",
"format": "uri"
},
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"retrieved_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"source_version": {
"type": "string"
}
},
"additionalProperties": false
}
},
"request_id": {
"type": "string",
"minLength": 1
},
"generated_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"next_actions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"tool_name",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "call_tool"
},
"reason": {
"type": "string"
},
"tool_name": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"url",
"reason"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"const": "open_url"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"fields",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "provide_input"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"retry_after_ms",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "wait"
},
"reason": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}
]
}
},
"schema_version": {
"type": "string",
"const": "1.0.0"
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}{
"title": "Get host connection handoff",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}koskamo_list_documents — List exact stored documents
List bounded stored document identifiers and versions in dataset. Optional limit and cursor continue traversal. Public or exact owner-key access only; no text search, writes, or charges. Collection changes expire the cursor.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"dataset"
],
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 100,
"minimum": 1,
"description": "Maximum number of dataset documents to return in this page."
},
"cursor": {
"type": "string",
"maxLength": 2048,
"minLength": 1,
"description": "Opaque continuation cursor returned by the previous page; keep the same resource and filters."
},
"dataset": {
"type": "string",
"maxLength": 256,
"minLength": 1,
"description": "ID or slug of the dataset to list."
}
},
"additionalProperties": false
}{
"type": "object",
"anyOf": [
{
"type": "object",
"required": [
"schema_version",
"kind",
"request_id",
"generated_at",
"context",
"data",
"warnings",
"next_actions"
],
"properties": {
"data": {
"type": "object",
"required": [
"items",
"page",
"completeness",
"omissions"
],
"properties": {
"page": {
"type": "object",
"required": [
"returned_count",
"total_count",
"has_more",
"next_cursor",
"consistency"
],
"properties": {
"has_more": {
"type": "boolean"
},
"consistency": {
"enum": [
"snapshot",
"live"
],
"type": "string"
},
"next_cursor": {
"type": [
"string",
"null"
]
},
"snapshot_id": {
"type": "string"
},
"total_count": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
]
},
"returned_count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"snapshot_expires_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"additionalProperties": false
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"document_id",
"title",
"document_version",
"ingested_at"
],
"properties": {
"title": {
"type": "string"
},
"document_id": {
"type": "string",
"maxLength": 256,
"minLength": 1
},
"ingested_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"document_version": {
"type": "string"
}
},
"additionalProperties": false
}
},
"omissions": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"reason",
"count"
],
"properties": {
"code": {
"type": "string"
},
"count": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
]
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
}
},
"completeness": {
"enum": [
"complete",
"partial",
"unavailable"
],
"type": "string"
}
},
"additionalProperties": false
},
"kind": {
"type": "string",
"const": "collection"
},
"context": {
"type": "object",
"required": [
"app_id",
"tenant_ref",
"environment",
"timezone"
],
"properties": {
"app_id": {
"type": "string",
"const": "koskamo"
},
"timezone": {
"type": "string",
"const": "UTC"
},
"tenant_ref": {
"type": "null"
},
"environment": {
"enum": [
"public",
"production",
"sandbox"
],
"type": "string"
}
},
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source_id",
"observed_at",
"retrieved_at",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"unknown"
],
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1
},
"source_url": {
"type": "string",
"format": "uri"
},
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"retrieved_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"source_version": {
"type": "string"
}
},
"additionalProperties": false
}
},
"request_id": {
"type": "string",
"minLength": 1
},
"generated_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"next_actions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"tool_name",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "call_tool"
},
"reason": {
"type": "string"
},
"tool_name": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"url",
"reason"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"const": "open_url"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"fields",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "provide_input"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"retry_after_ms",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "wait"
},
"reason": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}
]
}
},
"schema_version": {
"type": "string",
"const": "1.0.0"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"schema_version",
"kind",
"request_id",
"generated_at",
"context",
"data",
"warnings",
"next_actions"
],
"properties": {
"data": {
"type": "object",
"required": [
"code",
"message",
"effects",
"retry_strategy"
],
"properties": {
"code": {
"enum": [
"invalid_input",
"unauthenticated",
"permission_denied",
"consent_required",
"ambiguous_target",
"not_found",
"unsupported_capability",
"configuration_required",
"integration_expired",
"stale_data",
"version_conflict",
"approval_required",
"approval_expired",
"idempotency_conflict",
"rate_limited",
"quota_exceeded",
"provider_unavailable",
"outcome_unknown",
"reconciliation_required",
"cursor_expired",
"artifact_expired",
"internal_error"
],
"type": "string"
},
"effects": {
"enum": [
"none",
"committed",
"partial",
"unknown"
],
"type": "string"
},
"message": {
"type": "string"
},
"domain_code": {
"type": "string"
},
"field_errors": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"message"
],
"properties": {
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"operation_id": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"retry_strategy": {
"enum": [
"never",
"same_request",
"after_delay",
"after_correction",
"reconcile_first"
],
"type": "string"
}
},
"additionalProperties": false
},
"kind": {
"type": "string",
"const": "error"
},
"context": {
"type": "object",
"required": [
"app_id",
"tenant_ref",
"environment",
"timezone"
],
"properties": {
"app_id": {
"type": "string",
"const": "koskamo"
},
"timezone": {
"type": "string",
"const": "UTC"
},
"tenant_ref": {
"type": "null"
},
"environment": {
"enum": [
"public",
"production",
"sandbox"
],
"type": "string"
}
},
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source_id",
"observed_at",
"retrieved_at",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"unknown"
],
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1
},
"source_url": {
"type": "string",
"format": "uri"
},
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"retrieved_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"source_version": {
"type": "string"
}
},
"additionalProperties": false
}
},
"request_id": {
"type": "string",
"minLength": 1
},
"generated_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"next_actions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"tool_name",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "call_tool"
},
"reason": {
"type": "string"
},
"tool_name": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"url",
"reason"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"const": "open_url"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"fields",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "provide_input"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"retry_after_ms",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "wait"
},
"reason": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}
]
}
},
"schema_version": {
"type": "string",
"const": "1.0.0"
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}{
"title": "List exact stored documents",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}koskamo_get_document — Read an exact stored document
Read exact stored text for dataset and document_id, optionally document_version. Cursor pages bind one version and content hash. Public or exact owner-key access only. No writes, charges, or inference of source observation time.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"dataset",
"document_id"
],
"properties": {
"cursor": {
"type": "string",
"maxLength": 2048,
"minLength": 1,
"description": "Opaque continuation cursor returned by the previous page; keep the same resource and filters."
},
"dataset": {
"type": "string",
"maxLength": 256,
"minLength": 1,
"description": "ID or slug of the dataset containing the document."
},
"document_id": {
"type": "string",
"maxLength": 256,
"minLength": 1,
"description": "ID of the exact document to read."
},
"document_version": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Optional exact stored version; omit to read the current version.",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
}{
"type": "object",
"anyOf": [
{
"type": "object",
"required": [
"schema_version",
"kind",
"request_id",
"generated_at",
"context",
"data",
"warnings",
"next_actions"
],
"properties": {
"data": {
"type": "object",
"required": [
"dataset_id",
"document_id",
"document_version",
"visibility",
"title",
"canonical_source_url",
"source_observed_at",
"ingested_at",
"sections",
"next_cursor",
"content_hash"
],
"properties": {
"title": {
"type": "string"
},
"sections": {
"type": "array",
"items": {
"type": "object",
"required": [
"section_id",
"text"
],
"properties": {
"text": {
"type": "string"
},
"section_id": {
"type": "string"
}
},
"additionalProperties": false
}
},
"dataset_id": {
"type": "string",
"maxLength": 256,
"minLength": 1
},
"visibility": {
"enum": [
"public",
"private"
],
"type": "string"
},
"document_id": {
"type": "string",
"maxLength": 256,
"minLength": 1
},
"ingested_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"next_cursor": {
"type": [
"string",
"null"
]
},
"content_hash": {
"type": "string"
},
"document_version": {
"type": "string"
},
"source_observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"canonical_source_url": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"kind": {
"type": "string",
"const": "record"
},
"context": {
"type": "object",
"required": [
"app_id",
"tenant_ref",
"environment",
"timezone"
],
"properties": {
"app_id": {
"type": "string",
"const": "koskamo"
},
"timezone": {
"type": "string",
"const": "UTC"
},
"tenant_ref": {
"type": "null"
},
"environment": {
"enum": [
"public",
"production",
"sandbox"
],
"type": "string"
}
},
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source_id",
"observed_at",
"retrieved_at",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"unknown"
],
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1
},
"source_url": {
"type": "string",
"format": "uri"
},
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"retrieved_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"source_version": {
"type": "string"
}
},
"additionalProperties": false
}
},
"request_id": {
"type": "string",
"minLength": 1
},
"generated_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"next_actions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"tool_name",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "call_tool"
},
"reason": {
"type": "string"
},
"tool_name": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"url",
"reason"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"const": "open_url"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"fields",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "provide_input"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"retry_after_ms",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "wait"
},
"reason": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}
]
}
},
"schema_version": {
"type": "string",
"const": "1.0.0"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"schema_version",
"kind",
"request_id",
"generated_at",
"context",
"data",
"warnings",
"next_actions"
],
"properties": {
"data": {
"type": "object",
"required": [
"code",
"message",
"effects",
"retry_strategy"
],
"properties": {
"code": {
"enum": [
"invalid_input",
"unauthenticated",
"permission_denied",
"consent_required",
"ambiguous_target",
"not_found",
"unsupported_capability",
"configuration_required",
"integration_expired",
"stale_data",
"version_conflict",
"approval_required",
"approval_expired",
"idempotency_conflict",
"rate_limited",
"quota_exceeded",
"provider_unavailable",
"outcome_unknown",
"reconciliation_required",
"cursor_expired",
"artifact_expired",
"internal_error"
],
"type": "string"
},
"effects": {
"enum": [
"none",
"committed",
"partial",
"unknown"
],
"type": "string"
},
"message": {
"type": "string"
},
"domain_code": {
"type": "string"
},
"field_errors": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"message"
],
"properties": {
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"operation_id": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"retry_strategy": {
"enum": [
"never",
"same_request",
"after_delay",
"after_correction",
"reconcile_first"
],
"type": "string"
}
},
"additionalProperties": false
},
"kind": {
"type": "string",
"const": "error"
},
"context": {
"type": "object",
"required": [
"app_id",
"tenant_ref",
"environment",
"timezone"
],
"properties": {
"app_id": {
"type": "string",
"const": "koskamo"
},
"timezone": {
"type": "string",
"const": "UTC"
},
"tenant_ref": {
"type": "null"
},
"environment": {
"enum": [
"public",
"production",
"sandbox"
],
"type": "string"
}
},
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source_id",
"observed_at",
"retrieved_at",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"unknown"
],
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1
},
"source_url": {
"type": "string",
"format": "uri"
},
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"retrieved_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"source_version": {
"type": "string"
}
},
"additionalProperties": false
}
},
"request_id": {
"type": "string",
"minLength": 1
},
"generated_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"next_actions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"tool_name",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "call_tool"
},
"reason": {
"type": "string"
},
"tool_name": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"url",
"reason"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"const": "open_url"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"fields",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "provide_input"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"retry_after_ms",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "wait"
},
"reason": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}
]
}
},
"schema_version": {
"type": "string",
"const": "1.0.0"
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}{
"title": "Read an exact stored document",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}koskamo_get_revision — Inspect revision outcome
Read pending, approved, or rejected revision state for revision_id in a public dataset. No writes, charges, private reviewer notes, or private dataset revisions. Index visibility is reported separately from approval.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"revision_id"
],
"properties": {
"cursor": {
"type": "string",
"maxLength": 2048,
"minLength": 1,
"description": "Opaque continuation cursor returned by the previous page; keep the same resource and filters."
},
"revision_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "ID of the public revision to inspect."
}
},
"additionalProperties": false
}{
"type": "object",
"anyOf": [
{
"type": "object",
"required": [
"schema_version",
"kind",
"request_id",
"generated_at",
"context",
"data",
"warnings",
"next_actions"
],
"properties": {
"data": {
"type": "object",
"required": [
"revision_id",
"dataset_id",
"document_id",
"base_document_version",
"state",
"proposed_diff_artifact_id",
"applied_document_version",
"retrieval_visibility",
"safe_review_summary",
"proposed_change",
"reviewed_at"
],
"properties": {
"state": {
"enum": [
"pending",
"approved",
"rejected"
],
"type": "string"
},
"dataset_id": {
"type": "string",
"maxLength": 256,
"minLength": 1
},
"document_id": {
"anyOf": [
{
"type": "string",
"maxLength": 256,
"minLength": 1
},
{
"type": "null"
}
]
},
"reviewed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"revision_id": {
"type": "string",
"maxLength": 256,
"minLength": 1
},
"proposed_change": {
"type": "object",
"required": [
"action",
"title",
"text",
"source_url",
"next_cursor",
"content_hash"
],
"properties": {
"text": {
"type": "string"
},
"title": {
"type": "string"
},
"action": {
"enum": [
"add_document",
"replace_document",
"delete_document"
],
"type": "string"
},
"source_url": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{
"type": "null"
}
]
},
"next_cursor": {
"type": [
"string",
"null"
]
},
"content_hash": {
"type": "string"
}
},
"additionalProperties": false
},
"safe_review_summary": {
"type": [
"string",
"null"
]
},
"retrieval_visibility": {
"enum": [
"not_applied",
"index_pending",
"visible",
"unknown"
],
"type": "string"
},
"base_document_version": {
"type": [
"string",
"null"
]
},
"applied_document_version": {
"type": [
"string",
"null"
]
},
"proposed_diff_artifact_id": {
"type": "string"
}
},
"additionalProperties": false
},
"kind": {
"type": "string",
"const": "record"
},
"context": {
"type": "object",
"required": [
"app_id",
"tenant_ref",
"environment",
"timezone"
],
"properties": {
"app_id": {
"type": "string",
"const": "koskamo"
},
"timezone": {
"type": "string",
"const": "UTC"
},
"tenant_ref": {
"type": "null"
},
"environment": {
"enum": [
"public",
"production",
"sandbox"
],
"type": "string"
}
},
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source_id",
"observed_at",
"retrieved_at",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"unknown"
],
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1
},
"source_url": {
"type": "string",
"format": "uri"
},
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"retrieved_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"source_version": {
"type": "string"
}
},
"additionalProperties": false
}
},
"request_id": {
"type": "string",
"minLength": 1
},
"generated_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"next_actions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"tool_name",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "call_tool"
},
"reason": {
"type": "string"
},
"tool_name": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"url",
"reason"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"const": "open_url"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"fields",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "provide_input"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"retry_after_ms",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "wait"
},
"reason": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}
]
}
},
"schema_version": {
"type": "string",
"const": "1.0.0"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"schema_version",
"kind",
"request_id",
"generated_at",
"context",
"data",
"warnings",
"next_actions"
],
"properties": {
"data": {
"type": "object",
"required": [
"code",
"message",
"effects",
"retry_strategy"
],
"properties": {
"code": {
"enum": [
"invalid_input",
"unauthenticated",
"permission_denied",
"consent_required",
"ambiguous_target",
"not_found",
"unsupported_capability",
"configuration_required",
"integration_expired",
"stale_data",
"version_conflict",
"approval_required",
"approval_expired",
"idempotency_conflict",
"rate_limited",
"quota_exceeded",
"provider_unavailable",
"outcome_unknown",
"reconciliation_required",
"cursor_expired",
"artifact_expired",
"internal_error"
],
"type": "string"
},
"effects": {
"enum": [
"none",
"committed",
"partial",
"unknown"
],
"type": "string"
},
"message": {
"type": "string"
},
"domain_code": {
"type": "string"
},
"field_errors": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"message"
],
"properties": {
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"operation_id": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"retry_strategy": {
"enum": [
"never",
"same_request",
"after_delay",
"after_correction",
"reconcile_first"
],
"type": "string"
}
},
"additionalProperties": false
},
"kind": {
"type": "string",
"const": "error"
},
"context": {
"type": "object",
"required": [
"app_id",
"tenant_ref",
"environment",
"timezone"
],
"properties": {
"app_id": {
"type": "string",
"const": "koskamo"
},
"timezone": {
"type": "string",
"const": "UTC"
},
"tenant_ref": {
"type": "null"
},
"environment": {
"enum": [
"public",
"production",
"sandbox"
],
"type": "string"
}
},
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source_id",
"observed_at",
"retrieved_at",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"unknown"
],
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1
},
"source_url": {
"type": "string",
"format": "uri"
},
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"retrieved_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"source_version": {
"type": "string"
}
},
"additionalProperties": false
}
},
"request_id": {
"type": "string",
"minLength": 1
},
"generated_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"next_actions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"tool_name",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "call_tool"
},
"reason": {
"type": "string"
},
"tool_name": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"url",
"reason"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"const": "open_url"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"fields",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "provide_input"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"retry_after_ms",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "wait"
},
"reason": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}
]
}
},
"schema_version": {
"type": "string",
"const": "1.0.0"
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}{
"title": "Inspect revision outcome",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}koskamo_get_artifact — Read a revision diff artifact
Read a bounded page of an exact public revision diff by artifact_id. Optional cursor continues the declared JSON bytes. No writes, downloads, uploads, private reviewer notes, or charges. Concatenate content pages before parsing the artifact.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"artifact_id"
],
"properties": {
"cursor": {
"type": "string",
"maxLength": 2048,
"minLength": 1,
"description": "Opaque continuation cursor returned by the previous page; keep the same resource and filters."
},
"artifact_id": {
"type": "string",
"pattern": "^revision:[0-9a-f-]{36}$",
"description": "Exact artifact ID returned for a revision, in revision:<UUID> form."
}
},
"additionalProperties": false
}{
"type": "object",
"anyOf": [
{
"type": "object",
"required": [
"schema_version",
"kind",
"request_id",
"generated_at",
"context",
"data",
"warnings",
"next_actions"
],
"properties": {
"data": {
"type": "object",
"required": [
"artifact_id",
"name",
"media_type",
"byte_size",
"content_hash",
"created_at",
"expires_at",
"app_url",
"content",
"next_cursor"
],
"properties": {
"name": {
"type": "string"
},
"app_url": {
"type": "string",
"format": "uri"
},
"content": {
"type": "string"
},
"byte_size": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"created_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"expires_at": {
"type": "null"
},
"media_type": {
"type": "string",
"const": "application/json"
},
"artifact_id": {
"type": "string"
},
"next_cursor": {
"type": [
"string",
"null"
]
},
"content_hash": {
"type": "string"
}
},
"additionalProperties": false
},
"kind": {
"type": "string",
"const": "record"
},
"context": {
"type": "object",
"required": [
"app_id",
"tenant_ref",
"environment",
"timezone"
],
"properties": {
"app_id": {
"type": "string",
"const": "koskamo"
},
"timezone": {
"type": "string",
"const": "UTC"
},
"tenant_ref": {
"type": "null"
},
"environment": {
"enum": [
"public",
"production",
"sandbox"
],
"type": "string"
}
},
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source_id",
"observed_at",
"retrieved_at",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"unknown"
],
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1
},
"source_url": {
"type": "string",
"format": "uri"
},
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"retrieved_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"source_version": {
"type": "string"
}
},
"additionalProperties": false
}
},
"request_id": {
"type": "string",
"minLength": 1
},
"generated_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"next_actions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"tool_name",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "call_tool"
},
"reason": {
"type": "string"
},
"tool_name": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"url",
"reason"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"const": "open_url"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"fields",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "provide_input"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"retry_after_ms",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "wait"
},
"reason": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}
]
}
},
"schema_version": {
"type": "string",
"const": "1.0.0"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"schema_version",
"kind",
"request_id",
"generated_at",
"context",
"data",
"warnings",
"next_actions"
],
"properties": {
"data": {
"type": "object",
"required": [
"code",
"message",
"effects",
"retry_strategy"
],
"properties": {
"code": {
"enum": [
"invalid_input",
"unauthenticated",
"permission_denied",
"consent_required",
"ambiguous_target",
"not_found",
"unsupported_capability",
"configuration_required",
"integration_expired",
"stale_data",
"version_conflict",
"approval_required",
"approval_expired",
"idempotency_conflict",
"rate_limited",
"quota_exceeded",
"provider_unavailable",
"outcome_unknown",
"reconciliation_required",
"cursor_expired",
"artifact_expired",
"internal_error"
],
"type": "string"
},
"effects": {
"enum": [
"none",
"committed",
"partial",
"unknown"
],
"type": "string"
},
"message": {
"type": "string"
},
"domain_code": {
"type": "string"
},
"field_errors": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"message"
],
"properties": {
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"operation_id": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"retry_strategy": {
"enum": [
"never",
"same_request",
"after_delay",
"after_correction",
"reconcile_first"
],
"type": "string"
}
},
"additionalProperties": false
},
"kind": {
"type": "string",
"const": "error"
},
"context": {
"type": "object",
"required": [
"app_id",
"tenant_ref",
"environment",
"timezone"
],
"properties": {
"app_id": {
"type": "string",
"const": "koskamo"
},
"timezone": {
"type": "string",
"const": "UTC"
},
"tenant_ref": {
"type": "null"
},
"environment": {
"enum": [
"public",
"production",
"sandbox"
],
"type": "string"
}
},
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"provenance": {
"type": "array",
"items": {
"type": "object",
"required": [
"source_id",
"observed_at",
"retrieved_at",
"freshness"
],
"properties": {
"freshness": {
"enum": [
"fresh",
"stale",
"unknown"
],
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1
},
"source_url": {
"type": "string",
"format": "uri"
},
"observed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"retrieved_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"source_version": {
"type": "string"
}
},
"additionalProperties": false
}
},
"request_id": {
"type": "string",
"minLength": 1
},
"generated_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"next_actions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"tool_name",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "call_tool"
},
"reason": {
"type": "string"
},
"tool_name": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"url",
"reason"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"const": "open_url"
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"fields",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "provide_input"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"reason": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"retry_after_ms",
"reason"
],
"properties": {
"type": {
"type": "string",
"const": "wait"
},
"reason": {
"type": "string"
},
"retry_after_ms": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
}
]
}
},
"schema_version": {
"type": "string",
"const": "1.0.0"
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}{
"title": "Read a revision diff artifact",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}Prompts
3 advertised
find_mcp_server — Find an MCP server for a task
Search the MCP directory for servers that fit a task and compare the best candidates from their listings.
- task
- What the person wants an MCP server to do, in their words. (required)
plan_mcp_connection — Plan connecting an MCP server to a host
Pick candidate servers for a task on a named host, check their readiness evidence and produce the manual setup handoff.
- task
- What the person wants the server to do. (required)
- host
- The client host: one of Claude Code, Codex, Cursor, Cline, VS Code, Gemini CLI, Claude Desktop, Windsurf. (required)
cite_dataset_passages — Answer from a dataset with citations
Search Koskamo datasets for passages that answer a question and cite each one's source and document version.
- question
- The question to answer. (required)
- dataset
- Optional dataset id or slug; omit to search all public datasets.
Resources
27 advertised
agent-integration-reference — Agent integration reference
Source-linked implementation notes on MCP connections, tool results, and HTTP retries. Scoped to MCP 2025-11-25; not a general knowledge corpus.
koskamo://datasets/agent-integration-referencekoskamo-docs — Koskamo docs
Official public facts about Koskamo for agents to retrieve and cite.
koskamo://datasets/koskamo-docskoskamo-agent-api — Koskamo agent API
How agents retrieve facts, speak MCP, and propose revisions for approval.
koskamo://datasets/koskamo-agent-apimcp-directory — MCP server directory
Published MCP servers and their source-attributed or live-observed tools, resources, prompts, connection details, and documentation.
koskamo://datasets/mcp-directoryagent-use-cases — Agent use cases
Reviewed playbooks for what an AI agent can do with servers in the Koskamo MCP directory: the outcome, a reusable prompt, the servers it needs, and a quote from the vendor page it is drawn from.
koskamo://datasets/agent-use-caseshttp-status-codes — HTTP status codes (IANA registry)
Assigned HTTP status codes from the IANA Hypertext Transfer Protocol (HTTP) Status Code Registry, one document per code with its reason phrase, class, and defining reference.
koskamo://datasets/http-status-codesmedia-types-application — IANA application/* media types (standards tree)
IANA-registered application/* media types, standards-tree partition (every subtype not starting with vnd.; prs. and x- included). One document per media type with its registry status note, published references (RFCs, standards, URLs, and registering organisations; individual contact names omitted), and its registration-template URL.
koskamo://datasets/media-types-applicationsi-units — SI units and prefixes (BIPM SI Reference Point)
The 7 SI base units, 22 named SI derived units, and 24 SI prefixes from the BIPM SI Reference Point (the authoritative digital reference of the SI Digital Framework, CC BY 3.0 IGO). One document per unit or prefix: base units carry the current definition with its defining constant and superseded definitions, derived units the expression in base and other SI units, and prefixes the exponent and scaling factor.
koskamo://datasets/si-unitsmedia-types-vendor-n-z — Vendor media types N-Z (IANA registry)
Assigned vendor-tree (vnd.) application media types from the IANA Media Types registry whose subtype begins with N-Z (case-insensitive) or a non-alphanumeric character, one document per type with its template page, defining references, registering organizations, and obsolescence notes. Individual contact persons named in the registry are omitted.
koskamo://datasets/media-types-vendor-n-ziso-639-2-languages — ISO 639-2 language codes (Library of Congress)
Language codes from the ISO 639-2 code list of the Library of Congress, the ISO 639-2 Registration Authority: one document per language with its bibliographic (B) code, terminologic (T) code where it differs, ISO 639-1 code where assigned, and the English and French names.
koskamo://datasets/iso-639-2-languagesplanetary-satellites — Planetary satellites (NASA/JPL)
Physical parameters and mean orbital elements for the planetary satellites tabulated by NASA/JPL Solar System Dynamics, one document per satellite: GM, mean radius, and mean density with uncertainties where measured, plus mean orbital elements (semi-major axis, eccentricity, inclination, period, precession periods) with units as published.
koskamo://datasets/planetary-satellitesuri-schemes — URI schemes (IANA registry)
Registered URI schemes from the IANA Uniform Resource Identifier (URI) Schemes registry, one document per scheme with its description, registration status (Permanent, Provisional, or Historical), CRI scheme number, well-known URI support, registration template, and citable references. References that name individuals are omitted.
koskamo://datasets/uri-schemesmedia-types-vendor-a-m — Vendor media types, 0-9 and A-M (IANA registry)
Vendor (vnd.*) media types from the IANA Media Types registry whose subtype begins with 0-9 or a-m, one document per type with its registration template, registry note, and non-personal references (personal change-controller names omitted).
koskamo://datasets/media-types-vendor-a-mdns-parameters — DNS parameters (IANA registry)
Assigned Domain Name System (DNS) parameters from the IANA DNS Parameters registry: resource record (RR) TYPEs, RCODEs, CLASSes, and OpCodes, one document per assigned value with its meaning, references, and template or registration date where the registry lists them. Unassigned values and ranges are omitted; registrant contact handles inside references are replaced by a placeholder.
koskamo://datasets/dns-parametersmedia-types — Media types (IANA registry)
Registered media types (MIME types) in the audio, font, haptics, image, message, model, multipart, text, video top-level types of the IANA Media Types registry, one document per type with its subtype, defining references, and any deprecation or obsoletion marker. References that name an individual are withheld as personal data. The application top-level type is covered separately.
koskamo://datasets/media-typesspdx-licenses — SPDX License List
The SPDX License List version 3.29.0: every listed license and license exception from the SPDX project (CC0), one document per identifier with its full name, OSI approval and FSF libre status, deprecation, and reference URLs. Full license texts are not included.
koskamo://datasets/spdx-licensesun-m49 — UN M49 country and area codes (UN Statistics Division)
Standard country or area codes for statistical use (M49) from the UN Statistics Division: one document per country or area with its M49 code, ISO alpha-2/alpha-3 codes, region hierarchy, and LDC/LLDC/SIDS flags, plus one document per global region, region, sub-region, and intermediate region listing its members.
koskamo://datasets/un-m49time-zones — Time zones (IANA Time Zone Database)
Canonical time zones from the IANA Time Zone Database release 2026e (2026-09-29 17:14:38 -0700) (public domain), one document per zone1970.tab zone with its countries, principal-location coordinates, selection comment, and backward-compatible link names.
koskamo://datasets/time-zonesiso-4217-currencies — ISO 4217 currency codes (SIX Group)
ISO 4217 currency codes from the maintenance agency SIX Group: one document per alphabetic code from List One (178 current codes, published 2026-09-17) and List Three (137 historic codes, published 2026-01-01), with numeric code, minor units, every entity using the code, and withdrawal records for historic codes.
koskamo://datasets/iso-4217-currenciestls-cipher-suites — TLS cipher suites (IANA registry)
Assigned TLS cipher suites from the IANA TLS Cipher Suites registry, one document per assigned value with its DTLS-OK flag, Recommended status (Y = recommended, N = not recommended, D = discouraged), defining references, and any registry comment.
koskamo://datasets/tls-cipher-suiteslink-relations — Link relation types (IANA registry)
Registered link relation types from the IANA Link Relations registry, one document per relation with its description, defining reference, and registry notes.
koskamo://datasets/link-relationshttp-methods — HTTP methods (IANA registry)
Registered HTTP methods from the IANA Hypertext Transfer Protocol (HTTP) Method Registry, one document per method with its safe and idempotent flags and defining reference.
koskamo://datasets/http-methodswell-known-ports — Well-known ports (IANA registry)
IANA System Ports (0–1023) from the IANA Service Name and Transport Protocol Port Number Registry, one document per port with an assigned service name. Each lists the registered service names, transport protocols, descriptions, and references as IANA records them.
koskamo://datasets/well-known-portshttp-field-names — HTTP field names (IANA registry)
Registered HTTP field (header and trailer) names from the IANA Hypertext Transfer Protocol (HTTP) Field Name Registry, one document per name with its status, structured type, and defining reference.
koskamo://datasets/http-field-namescodata-constants — CODATA fundamental physical constants
CODATA 2022 recommended values of the fundamental physical constants, published by NIST (a US government work). One document per constant citing the NIST complete listing; refreshed on each CODATA release, roughly every four years.
koskamo://datasets/codata-constantsperiodic-table — Periodic table of the elements
Properties of all 118 chemical elements from the PubChem periodic table, published by NCBI at the US National Institutes of Health (a US government work). One document per element citing its PubChem element page; group and period numbers come from PubChem's element annotations.
koskamo://datasets/periodic-tableplanetary-fact-sheet — Planetary fact sheet (NASA)
Physical and orbital data for the planets, the Moon, and Pluto from the NASA NSSDCA Planetary Fact Sheet (metric), a US government work. One document per body with every table row as NASA states it, including footnotes.
koskamo://datasets/planetary-fact-sheetdataset — Public datasets
One public Koskamo dataset's description, publisher, licence, version and document count, as koskamo_list_datasets returns it. No passages; search them with koskamo_search_passages.
koskamo://datasets/{dataset}mcp_server — MCP directory listings
One published MCP server listing with its tools, provenance, maintenance, uptime and open issues, as koskamo_get_mcp_server returns it; on a profile connection, only saved servers and selected tools. Listing text comes from publishers and is untrusted data.
koskamo://mcp-servers/{server_id}90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-02: 3 of 3 checks answered
- 2026-11-03: 4 of 4 checks answered
- 2026-11-04: 4 of 4 checks answered
- 2026-11-05: 4 of 4 checks answered
- 2026-11-06: 4 of 4 checks answered
- 2026-11-07: 2 of 2 checks answered
- 2026-11-09: 1 of 1 checks answered
- 2026-11-10: 2 of 2 checks answered
- 2026-11-11: 1 of 1 checks answered
- 2026-11-12: 1 of 1 checks answered
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 4 of 4 checks answered
- 2026-11-27: 4 of 4 checks answered
- 2026-11-28: 3 of 3 checks answered
- 2026-11-29: 4 of 4 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 3 of 3 (100%)
- Average latency
- 886 ms
- 95th percentile latency
- 1117 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 1145 ms · 22 tool(s), 27 resource(s), 2 resource template(s), 3 prompt(s)
- · probe · passed · 869 ms · metadata changed · 22 tool(s), 27 resource(s), 2 resource template(s), 3 prompt(s)
- · registry · passed · metadata changed · Source metadata updated
- · probe · passed · 643 ms · metadata changed · 38 tool(s)
- · registry · passed · metadata changed · Source metadata updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http koskamo-mcp https://koskamo.com/api/mcpCodex
codex mcp add koskamo-mcp --url https://koskamo.com/api/mcpCursor
{
"mcpServers": {
"koskamo-mcp": {
"url": "https://koskamo.com/api/mcp"
}
}
}Cline
{
"mcpServers": {
"koskamo-mcp": {
"type": "streamableHttp",
"url": "https://koskamo.com/api/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"koskamo-mcp": {
"type": "http",
"url": "https://koskamo.com/api/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http koskamo-mcp https://koskamo.com/api/mcpClaude Desktop
https://koskamo.com/api/mcpWindsurf
{
"mcpServers": {
"koskamo-mcp": {
"serverUrl": "https://koskamo.com/api/mcp"
}
}
}Let your agent find its tools
Find servers like Koskamo MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other documentation and reference servers
Do you run Koskamo MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.