Arbeitsbereiche
Arbeitsbereiche und Arbeitsbereichsmitgliedschaften verwalten. Die Beispiele verwenden den A2A-Code-Modus. MCP stellt denselben Code-Modus über sein Toolexecute bereit.
Funktionen
workspaces.add
workspaces.add.
| Eigenschaft | Wert | Eigenschaft | Wert |
|---|---|---|---|
| Erforderliche Berechtigung | workspace.manage | Authentifizierung erforderlich | ja |
| Ausführungsmodus | sync | Fähigkeit | workspace.manage |
| Ressourcentyp | account | Ressourcen-ID-Feld | account_id |
| Öffentliche API-Route | POST /v1/public/accounts/{account_id}/workspaces |
Argumente
Argumente
| Name | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
name | str | ja |
Rückgabe
Rückgabe
| Feld | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
id | str | ja |
name | str | ja |
created_at | str | null | nein |
status | str | nein |
updated_at | str | null | nein |
A2A-Beispiel
A2A-Beispiel
Anfrage:Antwort:
MCP-Beispiel
MCP-Beispiel
Anfrage:Antwort:
workspaces.delete
workspaces.delete.
| Eigenschaft | Wert | Eigenschaft | Wert |
|---|---|---|---|
| Erforderliche Berechtigung | workspace.manage | Authentifizierung erforderlich | ja |
| Ausführungsmodus | sync | Fähigkeit | workspace.manage |
| Ressourcentyp | account | Ressourcen-ID-Feld | account_id |
| Öffentliche API-Route | DELETE /v1/public/accounts/{account_id}/workspaces/{workspace_id} |
Argumente
Argumente
| Name | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
workspace_id | str | ja |
Rückgabe
Rückgabe
| Feld | Typ | Erforderlich |
|---|---|---|
result | {} | ja |
A2A-Beispiel
A2A-Beispiel
Anfrage:Antwort:
MCP-Beispiel
MCP-Beispiel
Anfrage:Antwort:
workspaces.get
workspaces.get.
| Eigenschaft | Wert | Eigenschaft | Wert |
|---|---|---|---|
| Erforderliche Berechtigung | workspace.view | Authentifizierung erforderlich | ja |
| Ausführungsmodus | sync | Fähigkeit | workspace.view |
| Ressourcentyp | account | Ressourcen-ID-Feld | account_id |
| Öffentliche API-Route | GET /v1/public/accounts/{account_id}/workspaces/{workspace_id} |
Argumente
Argumente
| Name | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
workspace_id | str | ja |
Rückgabe
Rückgabe
| Feld | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
id | str | ja |
name | str | ja |
created_at | str | null | nein |
status | str | nein |
updated_at | str | null | nein |
A2A-Beispiel
A2A-Beispiel
Anfrage:Antwort:
MCP-Beispiel
MCP-Beispiel
Anfrage:Antwort:
workspaces.list
workspaces.list.
| Eigenschaft | Wert | Eigenschaft | Wert |
|---|---|---|---|
| Erforderliche Berechtigung | workspace.view | Authentifizierung erforderlich | ja |
| Ausführungsmodus | sync | Fähigkeit | workspace.view |
| Ressourcentyp | account | Ressourcen-ID-Feld | account_id |
| Öffentliche API-Route | GET /v1/public/accounts/{account_id}/workspaces |
Argumente
Argumente
| Name | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
page | int | nein |
page_size | int | nein |
Rückgabe
Rückgabe
| Feld | Typ | Erforderlich |
|---|---|---|
items | [{"account_id": str, "id": str, "name": str, "created_at"?: str | null, "status"?: str, "updated_at"?: str | null}] | ja |
page | int | ja |
page_size | int | ja |
total | int | ja |
A2A-Beispiel
A2A-Beispiel
Anfrage:Antwort:
MCP-Beispiel
MCP-Beispiel
Anfrage:Antwort:
workspaces.update
workspaces.update.
| Eigenschaft | Wert | Eigenschaft | Wert |
|---|---|---|---|
| Erforderliche Berechtigung | workspace.manage | Authentifizierung erforderlich | ja |
| Ausführungsmodus | sync | Fähigkeit | workspace.manage |
| Ressourcentyp | account | Ressourcen-ID-Feld | account_id |
| Öffentliche API-Route | PATCH /v1/public/accounts/{account_id}/workspaces/{workspace_id} |
Argumente
Argumente
| Name | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
workspace_id | str | ja |
name | str | ja |
Rückgabe
Rückgabe
| Feld | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
id | str | ja |
name | str | ja |
created_at | str | null | nein |
status | str | nein |
updated_at | str | null | nein |
A2A-Beispiel
A2A-Beispiel
Anfrage:Antwort:
MCP-Beispiel
MCP-Beispiel
Anfrage:Antwort: