list_users
List bounded users/service users under Core administrator authority. Return IDs, names, roles, base flags and direct type-wide grants only. Local pages 1–50/512-entry scan and 2 MiB body do not bound Core enumeration. Omit all authentication payloads and descriptions; no credential issuance or 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—truedestructiveHint—falseidempotentHint—true
Inputs
The registered schema gives field types, alternatives and declared bounds. The description and operator guides also cover checks applied at runtime.
kind- Schema
UserKind limittype "integer"·minimum 0·default 20pagetype "integer"·minimum 0·default 1
Show input JSON Schema
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"kind": {
"$ref": "#/$defs/UserKind"
},
"limit": {
"default": 20,
"format": "uint",
"minimum": 0,
"type": "integer"
},
"page": {
"default": 1,
"format": "uint",
"minimum": 0,
"type": "integer"
}
},
"$defs": {
"UserKind": {
"enum": [
"all",
"human",
"service"
],
"type": "string"
}
}
}Output
The registered output schema covers structured results and tool errors.
Pageitems,mutation_requests,next_page,page,scan_truncated,scanned,visibility_limitAppErrorcandidates,correction,field,kind,message,operation,status
Show output JSON Schema
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"anyOf": [
{
"$ref": "#/$defs/Page"
},
{
"$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"
},
"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"
},
"GrantView": {
"properties": {
"complete": {
"type": "boolean"
},
"level": {
"$ref": "#/$defs/Level"
},
"specific": {
"items": {
"$ref": "#/$defs/Specific"
},
"type": "array"
},
"unknown_specific_count": {
"format": "uint",
"minimum": 0,
"type": "integer"
}
},
"required": [
"level",
"specific",
"unknown_specific_count",
"complete"
],
"type": "object"
},
"Kind": {
"enum": [
"server",
"swarm",
"stack",
"deployment",
"build",
"repo",
"builder",
"alerter",
"procedure",
"action",
"resource_sync"
],
"type": "string"
},
"Level": {
"enum": [
"none",
"read",
"execute",
"write"
],
"type": "string"
},
"Page": {
"properties": {
"items": {
"items": {
"$ref": "#/$defs/UserView"
},
"type": "array"
},
"mutation_requests": {
"format": "uint8",
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"next_page": {
"format": "uint",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"page": {
"format": "uint",
"minimum": 0,
"type": "integer"
},
"scan_truncated": {
"type": "boolean"
},
"scanned": {
"format": "uint",
"minimum": 0,
"type": "integer"
},
"visibility_limit": {
"type": "string"
}
},
"required": [
"items",
"page",
"next_page",
"scanned",
"scan_truncated",
"visibility_limit",
"mutation_requests"
],
"type": "object"
},
"Specific": {
"enum": [
"terminal",
"attach",
"inspect",
"logs",
"processes"
],
"type": "string"
},
"TypeGrant": {
"properties": {
"grant": {
"$ref": "#/$defs/GrantView"
},
"resource_kind": {
"$ref": "#/$defs/Kind"
}
},
"required": [
"resource_kind",
"grant"
],
"type": "object"
},
"UserView": {
"properties": {
"admin": {
"type": "boolean"
},
"authentication_details": {
"type": "string"
},
"create_builds": {
"type": "boolean"
},
"create_servers": {
"type": "boolean"
},
"direct_type_grants": {
"items": {
"$ref": "#/$defs/TypeGrant"
},
"type": "array"
},
"enabled": {
"type": "boolean"
},
"grants_complete": {
"type": "boolean"
},
"id": {
"type": [
"string",
"null"
]
},
"service_description": {
"type": "string"
},
"service_user": {
"type": "boolean"
},
"super_admin": {
"type": "boolean"
},
"username": {
"type": "string"
}
},
"required": [
"id",
"username",
"service_user",
"enabled",
"admin",
"super_admin",
"create_servers",
"create_builds",
"direct_type_grants",
"grants_complete",
"authentication_details",
"service_description"
],
"type": "object"
}
}
}