list_storage_areas #

View this page as Markdown

On this page

Generated automatically from the published contract sources.

A script calls this action over HTTPS at POST https://tzcloud.dev.turnzero.ai/v1/list_storage_areas, with a bearer credential and the action's payload as the JSON body. It also accepts GET. An MCP connection lists this action as the tool tzcloud_list_storage_areas.

OAuth access tokens and minted tokens, including the turnzero command's computer token, are bearer credentials. The action determines which kinds, scopes and grants it accepts (Sign-in, sessions, and tokens).

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.

Contract description #

List your account's storage areas. Each row gives the name, bound application, and version-keeping flag. The area declares whether it is keyed by end user or shared. Your application authorizes each caller either way. The service stores files by name within the environment for both kinds. It keeps the current file at each name.

Access and action metadata #

{
  "name": "list_storage_areas",
  "resource": "area",
  "tier": "observe",
  "surface": "tzcloud",
  "addresses": [
    "tzcloud"
  ],
  "product": "cloud",
  "clients": [
    "bearer",
    "browser_session"
  ],
  "summary": "The account's declared storage areas with their declarations.",
  "annotations": {
    "readOnlyHint": true,
    "destructiveHint": false,
    "openWorldHint": false,
    "idempotentHint": true
  }
}

MCP catalog entry #

{
  "name": "list_storage_areas",
  "title": "List storage areas",
  "tier": "observe",
  "scenario": "OST-L0-01",
  "summary": "List your account's storage areas. Each row gives the name, bound application, and version-keeping flag. The area declares whether it is keyed by end user or shared. Your application authorizes each caller either way. The service stores files by name within the environment for both kinds. It keeps the current file at each name.",
  "owners": [
    "OST-L0-01"
  ]
}

request #

JSON pointer Description and constraints
"" (root) Type: object

response #

JSON pointer Description and constraints
"" (root) Type: object
Required fields: ["contract_version","areas"]
/properties/contract_version Required value: 1
/properties/reference The short reference the platform recorded your call under: ten lowercase hexadecimal characters, the value in the call’s record row. Quote it when you report the call.

Type: string
Pattern: ^[0-9a-f]{10}$
/properties/areas Type: array
/properties/areas/items Type: object
/properties/areas/items/properties/application Type: ["string","null"]
/properties/detail Type: string

Complete payload contract #

{
  "request": {
    "type": "object",
    "properties": {}
  },
  "response": {
    "type": "object",
    "required": [
      "contract_version",
      "areas"
    ],
    "properties": {
      "contract_version": {
        "const": 1
      },
      "reference": {
        "type": "string",
        "pattern": "^[0-9a-f]{10}$",
        "description": "The short reference the platform recorded your call under: ten lowercase hexadecimal characters, the value in the call’s record row. Quote it when you report the call."
      },
      "areas": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "application": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        }
      },
      "detail": {
        "type": "string"
      }
    }
  }
}

Shared contracts #