Werkruimten
Werkruimten en werkruimteleden beheren. De voorbeelden gebruiken de A2A-codemodus. MCP biedt dezelfde codemodus via het hulpmiddelexecute.
Functies
workspaces.add
workspaces.add.
| Eigenschap | Waarde | Eigenschap | Waarde |
|---|---|---|---|
| Vereiste machtiging | workspace.manage | Authenticatie vereist | ja |
| Uitvoermodus | sync | Mogelijkheid | workspace.manage |
| Resourcetype | account | Resource-ID-veld | account_id |
| Openbare API-route | POST /v1/public/accounts/{account_id}/workspaces |
Argumenten
Argumenten
| Naam | Type | Vereist |
|---|---|---|
account_id | str | ja |
name | str | ja |
Retourneert
Retourneert
| Veld | Type | Vereist |
|---|---|---|
account_id | str | ja |
id | str | ja |
name | str | ja |
created_at | str | null | nee |
status | str | nee |
updated_at | str | null | nee |
A2A-voorbeeld
A2A-voorbeeld
Aanvraag:Respons:
MCP-voorbeeld
MCP-voorbeeld
Aanvraag:Respons:
workspaces.delete
workspaces.delete.
| Eigenschap | Waarde | Eigenschap | Waarde |
|---|---|---|---|
| Vereiste machtiging | workspace.manage | Authenticatie vereist | ja |
| Uitvoermodus | sync | Mogelijkheid | workspace.manage |
| Resourcetype | account | Resource-ID-veld | account_id |
| Openbare API-route | DELETE /v1/public/accounts/{account_id}/workspaces/{workspace_id} |
Argumenten
Argumenten
| Naam | Type | Vereist |
|---|---|---|
account_id | str | ja |
workspace_id | str | ja |
Retourneert
Retourneert
| Veld | Type | Vereist |
|---|---|---|
result | {} | ja |
A2A-voorbeeld
A2A-voorbeeld
Aanvraag:Respons:
MCP-voorbeeld
MCP-voorbeeld
Aanvraag:Respons:
workspaces.get
workspaces.get.
| Eigenschap | Waarde | Eigenschap | Waarde |
|---|---|---|---|
| Vereiste machtiging | workspace.view | Authenticatie vereist | ja |
| Uitvoermodus | sync | Mogelijkheid | workspace.view |
| Resourcetype | account | Resource-ID-veld | account_id |
| Openbare API-route | GET /v1/public/accounts/{account_id}/workspaces/{workspace_id} |
Argumenten
Argumenten
| Naam | Type | Vereist |
|---|---|---|
account_id | str | ja |
workspace_id | str | ja |
Retourneert
Retourneert
| Veld | Type | Vereist |
|---|---|---|
account_id | str | ja |
id | str | ja |
name | str | ja |
created_at | str | null | nee |
status | str | nee |
updated_at | str | null | nee |
A2A-voorbeeld
A2A-voorbeeld
Aanvraag:Respons:
MCP-voorbeeld
MCP-voorbeeld
Aanvraag:Respons:
workspaces.list
workspaces.list.
| Eigenschap | Waarde | Eigenschap | Waarde |
|---|---|---|---|
| Vereiste machtiging | workspace.view | Authenticatie vereist | ja |
| Uitvoermodus | sync | Mogelijkheid | workspace.view |
| Resourcetype | account | Resource-ID-veld | account_id |
| Openbare API-route | GET /v1/public/accounts/{account_id}/workspaces |
Argumenten
Argumenten
| Naam | Type | Vereist |
|---|---|---|
account_id | str | ja |
page | int | nee |
page_size | int | nee |
Retourneert
Retourneert
| Veld | Type | Vereist |
|---|---|---|
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-voorbeeld
A2A-voorbeeld
Aanvraag:Respons:
MCP-voorbeeld
MCP-voorbeeld
Aanvraag:Respons:
workspaces.update
workspaces.update.
| Eigenschap | Waarde | Eigenschap | Waarde |
|---|---|---|---|
| Vereiste machtiging | workspace.manage | Authenticatie vereist | ja |
| Uitvoermodus | sync | Mogelijkheid | workspace.manage |
| Resourcetype | account | Resource-ID-veld | account_id |
| Openbare API-route | PATCH /v1/public/accounts/{account_id}/workspaces/{workspace_id} |
Argumenten
Argumenten
| Naam | Type | Vereist |
|---|---|---|
account_id | str | ja |
workspace_id | str | ja |
name | str | ja |
Retourneert
Retourneert
| Veld | Type | Vereist |
|---|---|---|
account_id | str | ja |
id | str | ja |
name | str | ja |
created_at | str | null | nee |
status | str | nee |
updated_at | str | null | nee |
A2A-voorbeeld
A2A-voorbeeld
Aanvraag:Respons:
MCP-voorbeeld
MCP-voorbeeld
Aanvraag:Respons: