Server definition
- Hash
- sha256:6e52f9c8db06223620add9566c53a944a6bd53ce48d9893aafe66ebe5cb9e9a8
- What it is
- What a remote MCP server returned when asked what it offers: 14 tools
The blob, as servednamed by its sha256
{
"instructions": "We are working toward companies whose knowledge is written once, in a structure that the people who run them and the agents working beside them can both rely on — so that what a company knows can be read, checked and acted on where it is needed, rather than reassembled out of wikis, decks, tickets and chat threads every time somebody asks.\n\nThe open-source meta-model for operating a company: the structure a company's knowledge takes, so that the people who run it and the agents working beside them can both rely on it.\n\nTerms the tools use. An id identifies one entity across the whole model and stays with it when its page moves. Every tool that takes an entity takes its id or its address, the folder and slug where its page sits, and every answer gives the id. A canonical name is an entity's title, unique within its type and, for an owned type, within its owner, so a name alone can be ambiguous where an id cannot. An owner is the entity another is nested under; the word is the tools' own, for their `owner` argument and field, and not an answer to a question: a visitor asking what an owner is asks about the model, which may hold an entity of that name, so search the model for it first. A reference is an edge from one entity to another, and `via` names the field or Section.Column that drew it, or `nested-in` for nesting, a name no schema declares. A qualifier is a value on a table row that describes that row's edge and draws none of its own. A list answers a page at a time: follow `page.nextCursor` while `page.hasMore`. A refused call carries `error.code` for a program beside the sentence for a reader, and describe_errors gives the codes and the schema of a refusal.\n\nThis server reports what the model says at one commit, which every answer names under `model`, and adds nothing.",
"tools": [
{
"description": "What a refused call looks like. A tool's output schema covers its answers only, so use this once, to branch on refusals or validate them. No input. Returns `errors`, every `code` with `when` it is raised and the JSON Schema of its `details`, and `schema`, the JSON Schema of a whole refusal: `error` with `code`, `message`, `rule`, `details`, beside `model`.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {},
"type": "object"
},
"name": "describe_errors",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"errors": {
"items": {
"additionalProperties": false,
"properties": {
"code": {
"enum": [
"unknown_type",
"unknown_entity",
"ambiguous_name",
"unknown_rule",
"invalid_argument",
"invalid_cursor",
"unsupported_snapshot",
"cannot_draw",
"no_creation_time"
],
"type": "string"
},
"details": {
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"when": {
"type": "string"
}
},
"required": [
"code",
"when",
"details"
],
"type": "object"
},
"type": "array"
},
"model": {
"additionalProperties": false,
"properties": {
"commit": {
"type": [
"string",
"null"
]
},
"core": {
"type": "string"
},
"parser": {
"type": "string"
},
"repo": {
"type": [
"string",
"null"
]
}
},
"required": [
"commit",
"repo",
"core",
"parser"
],
"type": "object"
},
"schema": {
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"errors",
"schema",
"model"
],
"type": "object"
}
},
{
"description": "What the schemas declare between types: references with form and cardinality, ownership, enums, joins, list kinds. Use for a diagram or audit; for one type's full schema use describe_schema. Optional `type` narrows every list, `direction` (declares, declared-to, both; needs `type`) one side of relations, `via` relations and enums. Returns those lists, with `forms` and `reading` explaining every term. Not paged.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"direction": {
"enum": [
"declares",
"declared-to",
"both"
],
"type": "string"
},
"type": {
"type": "string"
},
"via": {
"type": "string"
}
},
"type": "object"
},
"name": "describe_relations",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"enums": {
"items": {
"additionalProperties": {},
"properties": {
"required": {
"type": "boolean"
},
"tokens": {
"items": {
"type": "string"
},
"type": "array"
},
"type": {
"type": "string"
},
"via": {
"type": "string"
}
},
"required": [
"via",
"tokens",
"required",
"type"
],
"type": "object"
},
"type": "array"
},
"forms": {
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"joins": {
"items": {
"additionalProperties": {},
"properties": {
"kind": {
"type": "string"
},
"section": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"kind",
"section",
"type"
],
"type": "object"
},
"type": "array"
},
"lists": {
"items": {
"additionalProperties": {},
"properties": {
"kind": {
"type": "string"
},
"min": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"required": {
"type": "boolean"
},
"section": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"section",
"kind",
"required",
"min",
"type"
],
"type": "object"
},
"type": "array"
},
"model": {
"additionalProperties": false,
"properties": {
"commit": {
"type": [
"string",
"null"
]
},
"core": {
"type": "string"
},
"parser": {
"type": "string"
},
"repo": {
"type": [
"string",
"null"
]
}
},
"required": [
"commit",
"repo",
"core",
"parser"
],
"type": "object"
},
"ownership": {
"items": {
"additionalProperties": false,
"properties": {
"owned": {
"type": "string"
},
"owner": {
"type": "string"
}
},
"required": [
"owner",
"owned"
],
"type": "object"
},
"type": "array"
},
"reading": {
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"relations": {
"items": {
"additionalProperties": false,
"properties": {
"array": {
"type": "boolean"
},
"by": {
"type": [
"string",
"null"
]
},
"form": {
"enum": [
"ref",
"ref?",
"qualifier"
],
"type": "string"
},
"from": {
"type": "string"
},
"in": {
"type": [
"string",
"null"
]
},
"max": {
"anyOf": [
{
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"min": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"required": {
"type": "boolean"
},
"to": {
"type": [
"string",
"null"
]
},
"via": {
"type": "string"
}
},
"required": [
"from",
"via",
"to",
"form",
"by",
"in",
"array",
"required",
"min",
"max"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"relations",
"ownership",
"enums",
"joins",
"lists",
"forms",
"reading",
"model"
],
"type": "object"
}
},
{
"description": "One convention of the vocabulary as written, not a company's own rule (an entity of type `rule`: list_entities, get_entity). Input: `rule`, a number from list_rules such as R9, in either case. Returns `rule`, `title`, `part`, `text` and the file's `url`. An unknown number is refused with the known ones listed.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"rule": {
"description": "A convention's number from list_rules, such as R9",
"type": "string"
}
},
"required": [
"rule"
],
"type": "object"
},
"name": "describe_rule",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"model": {
"additionalProperties": false,
"properties": {
"commit": {
"type": [
"string",
"null"
]
},
"core": {
"type": "string"
},
"parser": {
"type": "string"
},
"repo": {
"type": [
"string",
"null"
]
}
},
"required": [
"commit",
"repo",
"core",
"parser"
],
"type": "object"
},
"part": {
"type": [
"string",
"null"
]
},
"rule": {
"type": "string"
},
"text": {
"type": "string"
},
"title": {
"type": "string"
},
"url": {
"type": [
"string",
"null"
]
}
},
"required": [
"rule",
"title",
"part",
"text",
"url",
"model"
],
"type": "object"
}
},
{
"description": "One type's schema: its sections as written and its declared relations as data. Use to learn what an entity of the type may hold; for the whole vocabulary use describe_relations. Input: `type`. Returns `url`, the schema's own file, `sections`, and `relations`: owner, owns, references both ways, enums, joins and lists.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"type": {
"description": "A type name from list_types, such as skill",
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
},
"name": "describe_schema",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"model": {
"additionalProperties": false,
"properties": {
"commit": {
"type": [
"string",
"null"
]
},
"core": {
"type": "string"
},
"parser": {
"type": "string"
},
"repo": {
"type": [
"string",
"null"
]
}
},
"required": [
"commit",
"repo",
"core",
"parser"
],
"type": "object"
},
"name": {
"type": "string"
},
"relations": {
"additionalProperties": false,
"properties": {
"enums": {
"items": {
"additionalProperties": {},
"properties": {
"required": {
"type": "boolean"
},
"tokens": {
"items": {
"type": "string"
},
"type": "array"
},
"via": {
"type": "string"
}
},
"required": [
"via",
"tokens",
"required"
],
"type": "object"
},
"type": "array"
},
"joins": {
"items": {
"additionalProperties": {},
"properties": {
"kind": {
"type": "string"
},
"section": {
"type": "string"
}
},
"required": [
"kind",
"section"
],
"type": "object"
},
"type": "array"
},
"lists": {
"items": {
"additionalProperties": {},
"properties": {
"kind": {
"type": "string"
},
"min": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"required": {
"type": "boolean"
},
"section": {
"type": "string"
}
},
"required": [
"section",
"kind",
"required",
"min"
],
"type": "object"
},
"type": "array"
},
"owner": {
"type": [
"string",
"null"
]
},
"owns": {
"items": {
"type": "string"
},
"type": "array"
},
"referencedBy": {
"items": {
"additionalProperties": false,
"properties": {
"array": {
"type": "boolean"
},
"by": {
"type": [
"string",
"null"
]
},
"form": {
"enum": [
"ref",
"ref?",
"qualifier"
],
"type": "string"
},
"from": {
"type": "string"
},
"in": {
"type": [
"string",
"null"
]
},
"max": {
"anyOf": [
{
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"min": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"required": {
"type": "boolean"
},
"via": {
"type": "string"
}
},
"required": [
"from",
"via",
"form",
"by",
"in",
"array",
"required",
"min",
"max"
],
"type": "object"
},
"type": "array"
},
"references": {
"items": {
"additionalProperties": false,
"properties": {
"array": {
"type": "boolean"
},
"by": {
"type": [
"string",
"null"
]
},
"form": {
"enum": [
"ref",
"ref?",
"qualifier"
],
"type": "string"
},
"in": {
"type": [
"string",
"null"
]
},
"max": {
"anyOf": [
{
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"min": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"required": {
"type": "boolean"
},
"to": {
"type": [
"string",
"null"
]
},
"via": {
"type": "string"
}
},
"required": [
"via",
"to",
"form",
"by",
"in",
"array",
"required",
"min",
"max"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"owner",
"owns",
"references",
"referencedBy",
"enums",
"joins",
"lists"
],
"type": "object"
},
"sections": {
"items": {
"additionalProperties": {},
"properties": {
"heading": {
"type": "string"
},
"tables": {
"items": {
"additionalProperties": {},
"properties": {
"columns": {
"items": {
"type": "string"
},
"type": "array"
},
"rows": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
}
},
"required": [
"columns",
"rows"
],
"type": "object"
},
"type": "array"
},
"text": {
"type": "string"
}
},
"required": [
"heading",
"text",
"tables"
],
"type": "object"
},
"type": "array"
},
"tagline": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": [
"string",
"null"
]
}
},
"required": [
"type",
"name",
"tagline",
"url",
"sections",
"relations",
"model"
],
"type": "object"
}
},
{
"description": "A picture of the model as Mermaid, from its edges or its schemas. Use to show connections; for edges as data use list_references. Input: `shape`; `id`, `domain` or `type` narrow it. Returns `mermaid`, `nodes`, `links`, `title`, `edges`, `omitted`, schema's `everyType`. A process draws each gate's failure dashed, to a phase or one Stop node, outside `nodes`. At most 50 nodes.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"domain": {
"description": "A domain's id or address, to draw its concepts",
"type": "string"
},
"id": {
"description": "The process to draw, or the entity at the middle of a neighborhood",
"type": "string"
},
"shape": {
"enum": [
"concepts",
"process",
"neighborhood",
"schema"
],
"type": "string"
},
"type": {
"description": "A type, to draw its schema and the types it is declared with",
"type": "string"
}
},
"required": [
"shape"
],
"type": "object"
},
"name": "diagram",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"edges": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"everyType": {
"items": {
"additionalProperties": false,
"properties": {
"multiplicity": {
"type": "string"
},
"to": {
"type": "string"
},
"via": {
"type": "string"
}
},
"required": [
"via",
"to",
"multiplicity"
],
"type": "object"
},
"type": "array"
},
"links": {
"items": {
"additionalProperties": false,
"properties": {
"from": {
"type": "string"
},
"label": {
"type": "string"
},
"to": {
"type": "string"
}
},
"required": [
"from",
"to",
"label"
],
"type": "object"
},
"type": "array"
},
"mermaid": {
"type": "string"
},
"model": {
"additionalProperties": false,
"properties": {
"commit": {
"type": [
"string",
"null"
]
},
"core": {
"type": "string"
},
"parser": {
"type": "string"
},
"repo": {
"type": [
"string",
"null"
]
}
},
"required": [
"commit",
"repo",
"core",
"parser"
],
"type": "object"
},
"nodes": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"node": {
"type": "string"
},
"title": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": [
"string",
"null"
]
}
},
"required": [
"node",
"id",
"title",
"type"
],
"type": "object"
},
"type": "array"
},
"omitted": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"shape": {
"enum": [
"concepts",
"process",
"neighborhood",
"schema"
],
"type": "string"
},
"title": {
"type": [
"string",
"null"
]
}
},
"required": [
"shape",
"title",
"mermaid",
"nodes",
"links",
"edges",
"omitted",
"model"
],
"type": "object"
}
},
{
"description": "One entity's page as written. Use to quote or display the source; for structured fields and references use get_entity. Input: `id` or address, from search, list_entities or any reference. Returns `id`, `title`, `type`, `url` and `text`, the Markdown source. Takes no name: search with match \"name\" finds the id.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"name": "fetch",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"model": {
"additionalProperties": false,
"properties": {
"commit": {
"type": [
"string",
"null"
]
},
"core": {
"type": "string"
},
"parser": {
"type": "string"
},
"repo": {
"type": [
"string",
"null"
]
}
},
"required": [
"commit",
"repo",
"core",
"parser"
],
"type": "object"
},
"text": {
"type": "string"
},
"title": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"title",
"type",
"url",
"text",
"model"
],
"type": "object"
}
},
{
"description": "Every edge into one skill, grouped by the type of the page that drew it. Use to check a claimed skill against its evidence. Input: `skill`, an id, canonical name or address; optional `limit`, `cursor`. Returns `skill`, `evidence` and `page`; a profile's claim arrives via Skills.Skill with its level, an evidence row via Evidence.Skill. Attributes are verbatim.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"cursor": {
"description": "`page.nextCursor` from the previous answer, sent with the same arguments; omit it for the first page.",
"type": "string"
},
"limit": {
"description": "Entries per page: 50 by default, clamped to 1–200, so 0 returns one entry and 1000 returns 200.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"skill": {
"description": "The skill's id, canonical name or address",
"type": "string"
}
},
"required": [
"skill"
],
"type": "object"
},
"name": "find_evidence",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"evidence": {
"additionalProperties": {
"items": {
"additionalProperties": false,
"properties": {
"attrs": {
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type",
"name"
],
"type": "object"
}
]
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"from": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type",
"name"
],
"type": "object"
},
"owner": {
"type": [
"string",
"null"
]
},
"stamp": {
"additionalProperties": {},
"properties": {
"end": {
"type": [
"string",
"null"
]
},
"kind": {
"type": [
"string",
"null"
]
},
"start": {
"type": [
"string",
"null"
]
}
},
"required": [
"kind",
"start",
"end"
],
"type": "object"
},
"to": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type",
"name"
],
"type": "object"
},
"via": {
"type": "string"
}
},
"required": [
"from",
"via",
"to",
"attrs",
"owner"
],
"type": "object"
},
"type": "array"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"model": {
"additionalProperties": false,
"properties": {
"commit": {
"type": [
"string",
"null"
]
},
"core": {
"type": "string"
},
"parser": {
"type": "string"
},
"repo": {
"type": [
"string",
"null"
]
}
},
"required": [
"commit",
"repo",
"core",
"parser"
],
"type": "object"
},
"page": {
"additionalProperties": false,
"properties": {
"hasMore": {
"type": "boolean"
},
"nextCursor": {
"type": [
"string",
"null"
]
},
"returned": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"total": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"total",
"returned",
"hasMore",
"nextCursor"
],
"type": "object"
},
"skill": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"tagline": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type",
"name",
"tagline"
],
"type": "object"
}
},
"required": [
"skill",
"evidence",
"page",
"model"
],
"type": "object"
}
},
{
"description": "One entity as structured data: fields, sections, tables, references both ways. Use to reason over one; for its page as written use fetch. Input: `id` or address, where its page sits, or `type` and `name`; an ambiguous name is refused with candidate ids. Returns `entity`, by id. Reference lists hold at most 50 edges; `referenceCounts` gives totals, list_references the rest.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"description": "The entity's id, as any answer gives it, or its address, where its page sits",
"type": "string"
},
"name": {
"description": "The canonical name, the entity's H1; needs type",
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"name": "get_entity",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"entity": {
"additionalProperties": {},
"properties": {
"created": {
"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))$",
"type": "string"
},
"fields": {
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"id": {
"type": "string"
},
"image_url": {
"type": "string"
},
"name": {
"type": "string"
},
"owner": {
"type": [
"string",
"null"
]
},
"path": {
"type": "string"
},
"referenceCounts": {
"additionalProperties": false,
"properties": {
"referencedBy": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"references": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"references",
"referencedBy"
],
"type": "object"
},
"referencedBy": {
"items": {
"additionalProperties": false,
"properties": {
"attrs": {
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type",
"name"
],
"type": "object"
}
]
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"from": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type",
"name"
],
"type": "object"
},
"to": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type",
"name"
],
"type": "object"
},
"via": {
"type": "string"
}
},
"required": [
"from",
"via",
"to",
"attrs"
],
"type": "object"
},
"type": "array"
},
"references": {
"items": {
"additionalProperties": false,
"properties": {
"attrs": {
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type",
"name"
],
"type": "object"
}
]
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"from": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type",
"name"
],
"type": "object"
},
"to": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type",
"name"
],
"type": "object"
},
"via": {
"type": "string"
}
},
"required": [
"from",
"via",
"to",
"attrs"
],
"type": "object"
},
"type": "array"
},
"sections": {
"items": {
"additionalProperties": {},
"properties": {
"heading": {
"type": "string"
},
"tables": {
"items": {
"additionalProperties": {},
"properties": {
"columns": {
"items": {
"type": "string"
},
"type": "array"
},
"rows": {
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
}
},
"required": [
"columns",
"rows"
],
"type": "object"
},
"type": "array"
},
"text": {
"type": "string"
}
},
"required": [
"heading",
"text",
"tables"
],
"type": "object"
},
"type": "array"
},
"stamp": {
"additionalProperties": {},
"properties": {
"end": {
"type": [
"string",
"null"
]
},
"kind": {
"type": [
"string",
"null"
]
},
"start": {
"type": [
"string",
"null"
]
}
},
"required": [
"kind",
"start",
"end"
],
"type": "object"
},
"tagline": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"type",
"name",
"tagline",
"owner",
"path",
"url",
"fields",
"sections",
"references",
"referencedBy",
"referenceCounts"
],
"type": "object"
},
"model": {
"additionalProperties": false,
"properties": {
"commit": {
"type": [
"string",
"null"
]
},
"core": {
"type": "string"
},
"parser": {
"type": "string"
},
"repo": {
"type": [
"string",
"null"
]
}
},
"required": [
"commit",
"repo",
"core",
"parser"
],
"type": "object"
}
},
"required": [
"entity",
"model"
],
"type": "object"
}
},
{
"description": "The checks the model's own gate runs, from the checker release this server was built with. Use to see which rules a script enforces and which are left to a reader. No input. Returns `checks`, each with `name`, `rule` and that rule's `title`, and `ranBy`. A list and no verdict: this server runs none of them.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {},
"type": "object"
},
"name": "list_checks",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"checks": {
"items": {
"additionalProperties": {},
"properties": {
"name": {
"type": "string"
},
"rule": {
"type": "string"
},
"title": {
"type": [
"string",
"null"
]
}
},
"required": [
"name",
"rule",
"title"
],
"type": "object"
},
"type": "array"
},
"model": {
"additionalProperties": false,
"properties": {
"commit": {
"type": [
"string",
"null"
]
},
"core": {
"type": "string"
},
"parser": {
"type": "string"
},
"repo": {
"type": [
"string",
"null"
]
}
},
"required": [
"commit",
"repo",
"core",
"parser"
],
"type": "object"
},
"ranBy": {
"type": "string"
}
},
"required": [
"checks",
"ranBy",
"model"
],
"type": "object"
}
},
{
"description": "Entities in address order, or by when they came into the model. Use to browse; to find by words or name use search. Input: optional `type`, `owner` (an id or address), `order` (address, newest, oldest), `limit`, `cursor`. Returns `entities` with `id`, `type`, `name`, `tagline`, `owner`, `created`, and `page`; follow `page.nextCursor` while `page.hasMore`.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"cursor": {
"description": "`page.nextCursor` from the previous answer, sent with the same arguments; omit it for the first page.",
"type": "string"
},
"limit": {
"description": "Entries per page: 50 by default, clamped to 1–200, so 0 returns one entry and 1000 returns 200.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"order": {
"description": "address, where the pages sit, by default; newest or oldest, by when each entity came into the model",
"enum": [
"address",
"newest",
"oldest"
],
"type": "string"
},
"owner": {
"description": "An owner's id or address, to keep its entities",
"type": "string"
},
"type": {
"description": "A type, to keep its entities; leave it out to list every type",
"type": "string"
}
},
"type": "object"
},
"name": "list_entities",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"entities": {
"items": {
"additionalProperties": false,
"properties": {
"created": {
"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))$",
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"owner": {
"type": [
"string",
"null"
]
},
"tagline": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type",
"name",
"tagline",
"owner"
],
"type": "object"
},
"type": "array"
},
"model": {
"additionalProperties": false,
"properties": {
"commit": {
"type": [
"string",
"null"
]
},
"core": {
"type": "string"
},
"parser": {
"type": "string"
},
"repo": {
"type": [
"string",
"null"
]
}
},
"required": [
"commit",
"repo",
"core",
"parser"
],
"type": "object"
},
"page": {
"additionalProperties": false,
"properties": {
"hasMore": {
"type": "boolean"
},
"nextCursor": {
"type": [
"string",
"null"
]
},
"returned": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"total": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"total",
"returned",
"hasMore",
"nextCursor"
],
"type": "object"
},
"type": {
"type": [
"string",
"null"
]
}
},
"required": [
"type",
"entities",
"page",
"model"
],
"type": "object"
}
},
{
"description": "The model's edges, filtered and paged. Use to inspect one entity's relations or one kind of reference without taking whole entities. Optional `entity` (an id or address), `direction` (out, in, both; needs `entity`), `via`, `type` (the far end's type, or either end's without `entity`), `limit`, `cursor`. Returns `edges`, each `from`, `via`, `to`, `attrs`, and `page`.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"cursor": {
"description": "`page.nextCursor` from the previous answer, sent with the same arguments; omit it for the first page.",
"type": "string"
},
"direction": {
"enum": [
"out",
"in",
"both"
],
"type": "string"
},
"entity": {
"type": "string"
},
"limit": {
"description": "Entries per page: 50 by default, clamped to 1–200, so 0 returns one entry and 1000 returns 200.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"type": {
"type": "string"
},
"via": {
"type": "string"
}
},
"type": "object"
},
"name": "list_references",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"edges": {
"items": {
"additionalProperties": false,
"properties": {
"attrs": {
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type",
"name"
],
"type": "object"
}
]
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"from": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type",
"name"
],
"type": "object"
},
"to": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type",
"name"
],
"type": "object"
},
"via": {
"type": "string"
}
},
"required": [
"from",
"via",
"to",
"attrs"
],
"type": "object"
},
"type": "array"
},
"model": {
"additionalProperties": false,
"properties": {
"commit": {
"type": [
"string",
"null"
]
},
"core": {
"type": "string"
},
"parser": {
"type": "string"
},
"repo": {
"type": [
"string",
"null"
]
}
},
"required": [
"commit",
"repo",
"core",
"parser"
],
"type": "object"
},
"page": {
"additionalProperties": false,
"properties": {
"hasMore": {
"type": "boolean"
},
"nextCursor": {
"type": [
"string",
"null"
]
},
"returned": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"total": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"total",
"returned",
"hasMore",
"nextCursor"
],
"type": "object"
}
},
"required": [
"edges",
"page",
"model"
],
"type": "object"
}
},
{
"description": "The vocabulary's conventions the model is held to, R0 onwards, from its core's CONVENTIONS.md. Use to resolve a number a schema or refusal cites, such as R9. A company's own rules are entities of type `rule`: list_entities and get_entity. No input. Returns `tagline`, the file's `url`, and `rules`, each with `rule`, `title` and `part`; describe_rule gives one rule's text.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {},
"type": "object"
},
"name": "list_rules",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"model": {
"additionalProperties": false,
"properties": {
"commit": {
"type": [
"string",
"null"
]
},
"core": {
"type": "string"
},
"parser": {
"type": "string"
},
"repo": {
"type": [
"string",
"null"
]
}
},
"required": [
"commit",
"repo",
"core",
"parser"
],
"type": "object"
},
"rules": {
"items": {
"additionalProperties": false,
"properties": {
"part": {
"type": [
"string",
"null"
]
},
"rule": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"rule",
"title",
"part"
],
"type": "object"
},
"type": "array"
},
"tagline": {
"type": "string"
},
"url": {
"type": [
"string",
"null"
]
}
},
"required": [
"tagline",
"url",
"rules",
"model"
],
"type": "object"
}
},
{
"description": "Every type the model's schemas declare. Use first, to learn which types exist before listing or describing one. No input. Returns `types`, each with `type`, `name`, `tagline`, `owner` (the type it nests under, or null) and `count`, the entities it holds.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {},
"type": "object"
},
"name": "list_types",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"model": {
"additionalProperties": false,
"properties": {
"commit": {
"type": [
"string",
"null"
]
},
"core": {
"type": "string"
},
"parser": {
"type": "string"
},
"repo": {
"type": [
"string",
"null"
]
}
},
"required": [
"commit",
"repo",
"core",
"parser"
],
"type": "object"
},
"types": {
"items": {
"additionalProperties": false,
"properties": {
"count": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"name": {
"type": "string"
},
"owner": {
"type": [
"string",
"null"
]
},
"tagline": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"name",
"tagline",
"owner",
"count"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"types",
"model"
],
"type": "object"
}
},
{
"description": "Find entities by words, substring or exact name. `match: \"words\"` needs every query word's stem in name, tagline, fields, sections or cells; `\"text\"` (default) is a case-insensitive substring over the same; `\"name\"` the exact canonical name. Optional `type`, `owner`, `limit`, `cursor`. Returns `results` with `id`, `title`, `type`, `matched`, `words` in words mode, and `page`: name matches first, then a listing.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"cursor": {
"description": "`page.nextCursor` from the previous answer, sent with the same arguments; omit it for the first page.",
"type": "string"
},
"limit": {
"description": "Entries per page: 50 by default, clamped to 1–200, so 0 returns one entry and 1000 returns 200.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"match": {
"enum": [
"text",
"name",
"words"
],
"type": "string"
},
"owner": {
"description": "An owner's id or address, to keep its entities",
"type": "string"
},
"query": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
},
"name": "search",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"match": {
"enum": [
"text",
"name",
"words"
],
"type": "string"
},
"model": {
"additionalProperties": false,
"properties": {
"commit": {
"type": [
"string",
"null"
]
},
"core": {
"type": "string"
},
"parser": {
"type": "string"
},
"repo": {
"type": [
"string",
"null"
]
}
},
"required": [
"commit",
"repo",
"core",
"parser"
],
"type": "object"
},
"page": {
"additionalProperties": false,
"properties": {
"hasMore": {
"type": "boolean"
},
"nextCursor": {
"type": [
"string",
"null"
]
},
"returned": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"total": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"total",
"returned",
"hasMore",
"nextCursor"
],
"type": "object"
},
"query": {
"type": "string"
},
"results": {
"items": {
"additionalProperties": false,
"properties": {
"created": {
"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))$",
"type": "string"
},
"id": {
"type": "string"
},
"matched": {
"items": {
"additionalProperties": false,
"properties": {
"key": {
"type": [
"string",
"null"
]
},
"where": {
"enum": [
"name",
"tagline",
"field",
"section",
"table"
],
"type": "string"
}
},
"required": [
"where",
"key"
],
"type": "object"
},
"type": "array"
},
"owner": {
"type": [
"string",
"null"
]
},
"tagline": {
"type": "string"
},
"title": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"title",
"type",
"owner",
"tagline",
"url",
"matched"
],
"type": "object"
},
"type": "array"
},
"words": {
"items": {
"additionalProperties": false,
"properties": {
"common": {
"type": "boolean"
},
"stem": {
"type": "string"
},
"word": {
"type": "string"
}
},
"required": [
"word",
"stem",
"common"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"query",
"match",
"results",
"page",
"model"
],
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:6e52f9c8db06223620add9566c53a944a6bd53ce48d9893aafe66ebe5cb9e9a8 | sha256sum