MCP Reference
drive_list
List Drives
Beschreibung
Lists drives the caller can see in this account, sorted by
updated_at DESC. Archived drives are excluded by default;
set include_archived: true to see them too. Each row carries
the caller's inherited workspace role (member / manager), the file
count, and the drive's own metadata.
Zugriff
Zugriffsprofil: gated. Module: files.
Die Freigabe im Profil ersetzt keine Account-, Workspace- oder Rollenberechtigung.
Parameter
| Name | Typ | Pflicht | Beschreibung |
|---|---|---|---|
account_id |
string | Ja | Account prefix ID (acct_…). |
include_archived |
boolean | Nein | When true, archived drives are included in the result. Default false. |
Eingabeschema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"account_id": {
"type": "string",
"description": "Account prefix ID (acct_…)."
},
"include_archived": {
"type": "boolean",
"description": "When true, archived drives are included in the result. Default false."
}
},
"required": [
"account_id"
],
"type": "object"
}
Ausgabeschema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"drives": {
"type": "array",
"description": "Drives visible to the caller, sorted updated_at DESC.",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Drive prefix ID (drv_…) — pass to every other drive_* tool."
},
"name": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"workspace_role": {
"type": "string",
"enum": [
"member",
"manager"
]
},
"file_count": {
"type": "integer",
"description": "Live (non-trashed) file count."
},
"archived": {
"type": "boolean"
},
"created_by": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"handle": {
"type": "string"
},
"name": {
"type": "string"
}
}
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"name",
"description",
"workspace_role",
"file_count",
"archived",
"created_by",
"created_at",
"updated_at"
]
}
}
},
"required": [
"drives"
],
"type": "object"
}