Skip to content

list_core_secret_names

List configured Core secret key names only, using authenticated ListSecrets with target=None. Separate from is_secret variable metadata. Bounded local pages/512-name scan; unsafe names omitted. Never expand Server/Builder secrets, reveal values, access host configuration or write files. No mutation.

Availability

Available under the default capability policy

The instance’s tool selection and upstream Core permissions also apply. Some inputs require additional grants.

Effect annotations

  • readOnlyHint — true
  • destructiveHint — false
  • idempotentHint — true

Inputs

The registered schema gives field types, alternatives and declared bounds. The description and operator guides also cover checks applied at runtime.

limit
type "integer" · minimum 1 · maximum 50 · default 20
page
type "integer" · minimum 1 · maximum 1000000 · default 1
Show input JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "limit": {
      "default": 20,
      "format": "uint",
      "maximum": 50,
      "minimum": 1,
      "type": "integer"
    },
    "page": {
      "default": 1,
      "format": "uint",
      "maximum": 1000000,
      "minimum": 1,
      "type": "integer"
    }
  },
  "type": "object"
}

Output

The registered output schema covers structured results and tool errors.

CoreSecretNames
evidence, names, next_page, page, scan_truncated, scope, unsafe_names_omitted
AppError
candidates, correction, field, kind, message, operation, status
Show output JSON Schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "anyOf": [
    {
      "$ref": "#/$defs/CoreSecretNames"
    },
    {
      "$ref": "#/$defs/AppError"
    }
  ],
  "$defs": {
    "AppError": {
      "additionalProperties": false,
      "description": "Only application-owned messages and selected, nonsensitive metadata survive.",
      "properties": {
        "candidates": {
          "items": {
            "$ref": "#/$defs/Candidate"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "correction": {
          "type": [
            "string",
            "null"
          ]
        },
        "field": {
          "type": [
            "string",
            "null"
          ]
        },
        "kind": {
          "$ref": "#/$defs/ErrorKind"
        },
        "message": {
          "type": "string"
        },
        "operation": {
          "type": "string"
        },
        "status": {
          "format": "uint16",
          "maximum": 65535,
          "minimum": 0,
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "kind",
        "message",
        "operation"
      ],
      "type": "object"
    },
    "Candidate": {
      "additionalProperties": false,
      "description": "A bounded ambiguity hint, never a raw upstream resource.",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "name"
      ],
      "type": "object"
    },
    "CoreSecretNames": {
      "properties": {
        "evidence": {
          "type": "string"
        },
        "names": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "next_page": {
          "format": "uint",
          "minimum": 0,
          "type": [
            "integer",
            "null"
          ]
        },
        "page": {
          "format": "uint",
          "minimum": 0,
          "type": "integer"
        },
        "scan_truncated": {
          "type": "boolean"
        },
        "scope": {
          "type": "string"
        },
        "unsafe_names_omitted": {
          "format": "uint",
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "scope",
        "names",
        "page",
        "next_page",
        "scan_truncated",
        "unsafe_names_omitted",
        "evidence"
      ],
      "type": "object"
    },
    "ErrorKind": {
      "description": "Stable public categories. No variant contains a raw upstream error.",
      "enum": [
        "invalid_arguments",
        "not_found",
        "ambiguous_target",
        "incomplete_resolution",
        "configuration",
        "authentication",
        "permission_denied",
        "timeout",
        "unreachable",
        "upstream",
        "invalid_response",
        "response_too_large",
        "capability_disabled",
        "unsupported_target",
        "stale_preview",
        "invalid_preview"
      ],
      "type": "string"
    }
  }
}

Operator guides

All built-in tools