create_issue_space

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/create_issue_space, with a bearer credential and the action's payload as the JSON body.

Contract description

Create an issue space your account holds, for a repository's issue list or a program's checks. Pass your own `space` UUID to make a repeat safe. Then mint a token with the `issues` grant naming the space to reach it. Your account needs Turn Zero Blueprint, given by invitation during the private beta.

Access and action metadata

{
  "name": "create_issue_space",
  "resource": "account",
  "tier": "reversible",
  "summary": "Create an issue space the account holds at the issue service, the space a repository's issue list or a program's checks live in: the optional `space` is a lower-case UUID the caller chooses, so a repeat whose answer was lost converges on the same space, and absent, the platform chooses one. The space's own token stays in the platform's vault; a program reaches the space through `relay_issue_act` under a token minted with the `issues` grant naming it. The answer carries the space's identifier and whether this call created it. The account must hold Turn Zero Blueprint, refused `blueprint_required` ahead of the bounds where it does not. Bounded per account per minute, refused `feedback_rate_limited`; `issue_service_unreachable` where the service or the platform's provisioning credential could not be reached. Registered while the issue service's origin is configured.",
  "annotations": {
    "readOnlyHint": false,
    "destructiveHint": false,
    "openWorldHint": false,
    "idempotentHint": true
  }
}

MCP catalog entry

{
  "name": "create_issue_space",
  "tier": "reversible",
  "scenario": "API-L0-20",
  "summary": "Create an issue space your account holds, for a repository's issue list or a program's checks. Pass your own `space` UUID to make a repeat safe. Then mint a token with the `issues` grant naming the space to reach it. Your account needs Turn Zero Blueprint, given by invitation during the private beta.",
  "owners": [
    "MAPI-14"
  ]
}

request

JSON pointer Description and constraints
"" (root) Type: object
/properties/space Optional: the identifier you choose, a lower-case UUID, so a repeat converges on the same space.

Type: string
Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

response

JSON pointer Description and constraints
"" (root) Type: object
Required fields: ["contract_version","space"]
/properties/contract_version Required value: 1
/properties/reference The short reference the platform recorded this call under, ten lowercase hexadecimal characters, the value the call's record row carries; quote it when reporting the call.

Type: string
Pattern: ^[0-9a-f]{10}$
/properties/space Type: object
Required fields: ["id","kind","created"]
/properties/space/properties/id Type: string
/properties/space/properties/kind Type: string
Allowed values: ["account"]
/properties/space/properties/created True where this call created the space; false where it stood.

Type: boolean

Complete payload contract

{
  "request": {
    "type": "object",
    "properties": {
      "space": {
        "type": "string",
        "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
        "description": "Optional: the identifier you choose, a lower-case UUID, so a repeat converges on the same space."
      }
    }
  },
  "response": {
    "type": "object",
    "required": [
      "contract_version",
      "space"
    ],
    "properties": {
      "contract_version": {
        "const": 1
      },
      "reference": {
        "type": "string",
        "pattern": "^[0-9a-f]{10}$",
        "description": "The short reference the platform recorded this call under, ten lowercase hexadecimal characters, the value the call's record row carries; quote it when reporting the call."
      },
      "space": {
        "type": "object",
        "required": [
          "id",
          "kind",
          "created"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "kind": {
            "type": "string",
            "enum": [
              "account"
            ]
          },
          "created": {
            "type": "boolean",
            "description": "True where this call created the space; false where it stood."
          }
        }
      }
    }
  }
}

Shared contracts