list_context
Generated automatically from the published contract sources.
Build metadata: Registered in this build. Registration describes the default dispatcher in this build. It does not guarantee that a caller has the required credential or grant, that a tool is listed for that connection, or that the required service is configured.
A script calls this action over HTTPS at POST https://turnzero.ai/api/v1/actions/list_context, with a bearer credential and the action's payload as the JSON body. It also accepts GET.
Contract description
List the context IDs visible to this connection: contracts, guides, implemented skills, and available documentation trees. A skill's entry names it in one line: its text opens with what the implementer must do, so read it with read_context before acting on the skill. Results are paged; use `next_offset` with the returned `stamp` until `next_offset` is null.
Access and action metadata
{
"name": "list_context",
"resource": "platform_context",
"tier": "observe",
"access": "anonymous",
"summary": "List the platform context catalog, including contracts, guides, live skills and available documentation trees. Start here to discover what to read.",
"annotations": {
"readOnlyHint": true,
"destructiveHint": false,
"openWorldHint": false,
"idempotentHint": true
}
}
MCP catalog entry
{
"name": "list_context",
"tier": "observe",
"scenario": "CHI-L0-05",
"summary": "List the context IDs visible to this connection: contracts, guides, implemented skills, and available documentation trees. A skill's entry names it in one line: its text opens with what the implementer must do, so read it with read_context before acting on the skill. Results are paged; use `next_offset` with the returned `stamp` until `next_offset` is null.",
"owners": []
}
request
| JSON pointer | Description and constraints |
|---|---|
| "" (root) | Type: object Required fields: [] Additional properties: false |
| / |
Zero-based catalog entry offset; defaults to 0. Use the previous response's next_offset for continuation. A nonzero offset requires its stamp. Type: integer Minimum: 0 Maximum: 9007199254740991 |
| / |
The SHA-256 stamp returned by the previous page. Required with a nonzero offset. A change to the catalog entries returns context_changed; restart at offset 0 without a stamp. The stamp does not grant access. Type: string Pattern: ^[a-f0-9]{64}$ |
response
| JSON pointer | Description and constraints |
|---|---|
| "" (root) | Type: object Required fields: ["contract_version","stamp","offset","total","next_offset","entries"] Additional properties: false |
| / |
Required value: 1 |
| / |
Type: string Pattern: ^[a-f0-9]{64}$ |
| / |
Type: integer Minimum: 0 Maximum: 9007199254740991 |
| / |
Type: integer Minimum: 0 Maximum: 9007199254740991 |
| / |
Type: ["integer","null"] Minimum: 0 Maximum: 9007199254740991 |
| / |
Type: array |
| / |
Type: object Required fields: ["id","summary","tool","authentication"] Additional properties: false |
| / |
Type: string |
| / |
Type: string |
| / |
Allowed values: ["read_context","read_documentation"] |
| / |
Allowed values: ["optional","required"] |
| / |
Allowed values: ["cloud","blueprint","tzdocs"] |
| / |
Allowed values: ["index","full"] |
Complete payload contract
{
"request": {
"type": "object",
"properties": {
"offset": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Zero-based catalog entry offset; defaults to 0. Use the previous response's next_offset for continuation. A nonzero offset requires its stamp."
},
"stamp": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "The SHA-256 stamp returned by the previous page. Required with a nonzero offset. A change to the catalog entries returns context_changed; restart at offset 0 without a stamp. The stamp does not grant access."
}
},
"required": [],
"additionalProperties": false
},
"response": {
"type": "object",
"properties": {
"contract_version": {
"const": 1
},
"stamp": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"offset": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"total": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"next_offset": {
"type": [
"integer",
"null"
],
"minimum": 0,
"maximum": 9007199254740991
},
"entries": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"summary": {
"type": "string"
},
"tool": {
"enum": [
"read_context",
"read_documentation"
]
},
"authentication": {
"enum": [
"optional",
"required"
]
},
"tree": {
"enum": [
"cloud",
"blueprint",
"tzdocs"
]
},
"part": {
"enum": [
"index",
"full"
]
}
},
"required": [
"id",
"summary",
"tool",
"authentication"
],
"additionalProperties": false
}
}
},
"required": [
"contract_version",
"stamp",
"offset",
"total",
"next_offset",
"entries"
],
"additionalProperties": false
}
}
Shared contracts
- Refusals: every refusal, by surface, with its cause and its remedy
- schemas/wire_error.schema.json
- schemas/wire_errors.json
- schemas/action_payloads.json (includes shared shapes)
- management_api_contract.md