Tenjin · Schema
RouterHookResponse
Artificial IntelligenceTool RouterPay-per-useAutomationCoding Agents
Properties
| Name | Type | Description |
|---|---|---|
| schemaVersion | number | |
| routerVersion | string | |
| honored | array | |
| settingsHash | string | |
| decision | object | |
| jev | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/tenjin-sh/json-schema/tenjin-sh-router-hook-response-schema.json",
"title": "RouterHookResponse",
"x-generated": "2026-11-27",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/tenjin-sh-openapi.json#/components/schemas/RouterHookResponse",
"type": "object",
"properties": {
"schemaVersion": {
"type": "number",
"const": 1
},
"routerVersion": {
"type": "string",
"minLength": 1
},
"honored": {
"maxItems": 16,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 32
}
},
"settingsHash": {
"type": "string",
"pattern": "^sha256:[0-9a-f]{64}$"
},
"decision": {
"oneOf": [
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "execute"
},
"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)$"
},
"capabilityId": {
"type": "string",
"minLength": 1
},
"category": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"provider": {
"type": "string",
"minLength": 1
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 32
},
"capabilityDescription": {
"type": "string",
"minLength": 1
},
"providerPriceAtomic": {
"type": "string",
"pattern": "^[0-9]+$"
},
"endpoint": {
"type": "string",
"format": "uri"
},
"usage": {
"type": "string",
"minLength": 1
},
"hint": {
"type": "string",
"minLength": 1
},
"specs": {
"minItems": 1,
"maxItems": 8,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"capabilityId": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"provider": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 32
},
"holds": {
"type": "object",
"properties": {
"WebSearch": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"WebFetch": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"additionalProperties": false
},
"output": {
"type": "string",
"enum": [
"json",
"text",
"media"
]
},
"description": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"priceAtomic": {
"type": "string",
"pattern": "^[0-9]+$"
},
"priceVaries": {
"type": "boolean"
},
"maxAmountAtomic": {
"type": "string",
"pattern": "^[0-9]+$"
},
"payTo": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"network": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"asset": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"request": {
"type": "object",
"properties": {
"method": {
"type": "string",
"enum": [
"GET",
"POST"
]
},
"url": {
"type": "string",
"format": "uri"
},
"fields": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"enum": [
"path",
"query",
"body"
]
}
},
"location": {
"type": "string",
"enum": [
"query",
"body"
]
},
"headers": {
"type": "object",
"propertyNames": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"additionalProperties": {
"type": "string",
"minLength": 1,
"maxLength": 1024
}
}
},
"required": [
"method",
"url",
"fields",
"location"
],
"additionalProperties": false
},
"input": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"pinned": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"returns": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"returnsExample": {},
"resultSchema": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"outputSchema": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"job": {
"type": "object",
"properties": {
"pollUrl": {
"anyOf": [
{
"type": "object",
"properties": {
"field": {
"type": "string",
"pattern": "^[A-Za-z_][A-Za-z0-9_]{0,63}$"
},
"header": {
"type": "string",
"pattern": "^[A-Za-z0-9-]{1,64}$"
}
},
"additionalProperties": false
},
{
"type": "object",
"properties": {
"fixed": {
"type": "string",
"format": "uri"
}
},
"required": [
"fixed"
],
"additionalProperties": false
}
]
},
"completeUrl": {
"type": "object",
"properties": {
"fixed": {
"type": "string",
"format": "uri"
}
},
"required": [
"fixed"
],
"additionalProperties": false
},
"pollMethod": {
"type": "string",
"enum": [
"GET",
"POST"
]
},
"pollBody": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z_][A-Za-z0-9_]{0,63}$"
},
"additionalProperties": {}
},
"running": {
"anyOf": [
{
"type": "object",
"properties": {
"httpStatus": {
"minItems": 1,
"maxItems": 8,
"type": "array",
"items": {
"type": "integer",
"minimum": 200,
"maximum": 299
}
}
},
"required": [
"httpStatus"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"pattern": "^[A-Za-z_][A-Za-z0-9_]{0,63}$"
},
"values": {
"minItems": 1,
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
}
},
"required": [
"field",
"values"
],
"additionalProperties": false
}
]
},
"failed": {
"type": "object",
"properties": {
"field": {
"type": "string",
"pattern": "^[A-Za-z_][A-Za-z0-9_]{0,63}$"
},
"values": {
"minItems": 1,
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
}
},
"required": [
"field",
"values"
],
"additionalProperties": false
},
"everyS": {
"type": "integer",
"minimum": 1,
"maximum": 30
},
"maxWaitS": {
"type": "integer",
"minimum": 1,
"maximum": 600
},
"keepH": {
"type": "integer",
"minimum": 1,
"maximum": 48
},
"always": {
"type": "boolean",
"const": true
}
},
"required": [
"pollUrl",
"pollMethod",
"running",
"everyS",
"maxWaitS",
"keepH"
],
"additionalProperties": false
},
"takes": {
"type": "object",
"properties": {
"max": {
"type": "integer",
"minimum": 2,
"maximum": 5
}
},
"required": [
"max"
],
"additionalProperties": false
},
"requires": {
"minItems": 1,
"maxItems": 16,
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9_-]{0,31}$"
}
},
"timeoutS": {
"type": "integer",
"minimum": 1,
"maximum": 120
},
"maxBytes": {
"type": "integer",
"minimum": 1,
"maximum": 209715200
},
"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)$"
}
},
"required": [
"capabilityId",
"provider",
"description",
"priceAtomic",
"priceVaries",
"maxAmountAtomic",
"payTo",
"network",
"asset",
"request",
"input",
"pinned",
"id"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"capabilityId": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"provider": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 32
},
"holds": {
"type": "object",
"properties": {
"WebSearch": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"WebFetch": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"additionalProperties": false
},
"output": {
"type": "string",
"enum": [
"json",
"text",
"media"
]
},
"description": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"source": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,47}$"
},
"mcp": {
"type": "object",
"properties": {
"tool": {
"type": "string",
"pattern": "^[A-Za-z0-9_][A-Za-z0-9_.-]{0,127}$"
},
"args": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"result": {
"type": "string",
"enum": [
"structured",
"json-text",
"content"
]
},
"next": {
"type": "object",
"properties": {
"when": {
"type": "object",
"properties": {
"path": {
"type": "string",
"pattern": "^[A-Za-z_][A-Za-z0-9_]{0,63}(?:\\.[A-Za-z_][A-Za-z0-9_]{0,63}){0,3}$"
},
"values": {
"minItems": 1,
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
}
},
"required": [
"path",
"values"
],
"additionalProperties": false
},
"poll": {
"type": "object",
"properties": {
"tool": {
"type": "string",
"pattern": "^[A-Za-z0-9_][A-Za-z0-9_.-]{0,127}$"
},
"args": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"result": {
"type": "string",
"enum": [
"structured",
"json-text",
"content"
]
},
"running": {
"type": "object",
"properties": {
"path": {
"type": "string",
"pattern": "^[A-Za-z_][A-Za-z0-9_]{0,63}(?:\\.[A-Za-z_][A-Za-z0-9_]{0,63}){0,3}$"
},
"values": {
"minItems": 1,
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
}
},
"required": [
"path",
"values"
],
"additionalProperties": false
},
"failed": {
"type": "object",
"properties": {
"path": {
"type": "string",
"pattern": "^[A-Za-z_][A-Za-z0-9_]{0,63}(?:\\.[A-Za-z_][A-Za-z0-9_]{0,63}){0,3}$"
},
"values": {
"minItems": 1,
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
}
},
"required": [
"path",
"values"
],
"additionalProperties": false
},
"everyS": {
"type": "integer",
"minimum": 1,
"maximum": 30
},
"maxWaitS": {
"type": "integer",
"minimum": 1,
"maximum": 600
}
},
"required": [
"tool",
"args",
"result",
"running",
"everyS",
"maxWaitS"
],
"additionalProperties": false
},
"tool": {
"type": "string",
"pattern": "^[A-Za-z0-9_][A-Za-z0-9_.-]{0,127}$"
},
"args": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"result": {
"type": "string",
"enum": [
"structured",
"json-text",
"content"
]
}
},
"required": [
"tool",
"args",
"result"
],
"additionalProperties": false
}
},
"required": [
"tool",
"args",
"result"
],
"additionalProperties": false
},
"input": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"pinned": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"returns": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"resultSchema": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"outputSchema": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"requires": {
"minItems": 1,
"maxItems": 16,
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9_-]{0,31}$"
}
},
"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)$"
}
},
"required": [
"capabilityId",
"provider",
"description",
"source",
"mcp",
"input",
"pinned",
"requires",
"id"
],
"additionalProperties": false
}
]
}
},
"delivery": {
"type": "string",
"enum": [
"offer",
"augment",
"note"
]
},
"augmentUrl": {
"type": "string",
"format": "uri"
},
"bound": {
"type": "object",
"properties": {
"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)$"
},
"input": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"required": [
"id",
"input"
],
"additionalProperties": false
}
},
"required": [
"action",
"id",
"capabilityId",
"category",
"provider",
"capabilityDescription",
"providerPriceAtomic",
"usage",
"hint"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "discovered"
},
"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)$"
},
"candidate": {
"type": "object",
"properties": {
"source": {
"type": "string",
"minLength": 1,
"maxLength": 32
},
"provider": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"url": {
"type": "string",
"format": "uri"
},
# --- truncated at 32 KB (56 KB total) ---
# Full source: https://artifacts.apis.io/tenjin-sh/json-schema/tenjin-sh-router-hook-response-schema.json
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/tenjin-sh-router-hook-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.