ワークスペース
ワークスペースとワークスペースメンバーシップを管理します。 例では A2A コードモードを使用します。MCP はexecute ツールを通じて同じコードモードを公開します。
関数
workspaces.add
workspaces.add.
| プロパティ | 値 | プロパティ | 値 |
|---|---|---|---|
| 必要な権限 | workspace.manage | 認証必須 | はい |
| 実行モード | sync | 機能権限 | workspace.manage |
| リソースタイプ | account | リソース ID フィールド | account_id |
| 公開 API ルート | POST /v1/public/accounts/{account_id}/workspaces |
引数
引数
| 名前 | 型 | 必須 |
|---|---|---|
account_id | str | はい |
name | str | はい |
戻り値
戻り値
| フィールド | 型 | 必須 |
|---|---|---|
account_id | str | はい |
id | str | はい |
name | str | はい |
created_at | str | null | いいえ |
status | str | いいえ |
updated_at | str | null | いいえ |
A2A の例
A2A の例
リクエスト:レスポンス:
MCP の例
MCP の例
リクエスト:レスポンス:
workspaces.delete
workspaces.delete.
| プロパティ | 値 | プロパティ | 値 |
|---|---|---|---|
| 必要な権限 | workspace.manage | 認証必須 | はい |
| 実行モード | sync | 機能権限 | workspace.manage |
| リソースタイプ | account | リソース ID フィールド | account_id |
| 公開 API ルート | DELETE /v1/public/accounts/{account_id}/workspaces/{workspace_id} |
引数
引数
| 名前 | 型 | 必須 |
|---|---|---|
account_id | str | はい |
workspace_id | str | はい |
戻り値
戻り値
| フィールド | 型 | 必須 |
|---|---|---|
result | {} | はい |
A2A の例
A2A の例
リクエスト:レスポンス:
MCP の例
MCP の例
リクエスト:レスポンス:
workspaces.get
workspaces.get.
| プロパティ | 値 | プロパティ | 値 |
|---|---|---|---|
| 必要な権限 | workspace.view | 認証必須 | はい |
| 実行モード | sync | 機能権限 | workspace.view |
| リソースタイプ | account | リソース ID フィールド | account_id |
| 公開 API ルート | GET /v1/public/accounts/{account_id}/workspaces/{workspace_id} |
引数
引数
| 名前 | 型 | 必須 |
|---|---|---|
account_id | str | はい |
workspace_id | str | はい |
戻り値
戻り値
| フィールド | 型 | 必須 |
|---|---|---|
account_id | str | はい |
id | str | はい |
name | str | はい |
created_at | str | null | いいえ |
status | str | いいえ |
updated_at | str | null | いいえ |
A2A の例
A2A の例
リクエスト:レスポンス:
MCP の例
MCP の例
リクエスト:レスポンス:
workspaces.list
workspaces.list.
| プロパティ | 値 | プロパティ | 値 |
|---|---|---|---|
| 必要な権限 | workspace.view | 認証必須 | はい |
| 実行モード | sync | 機能権限 | workspace.view |
| リソースタイプ | account | リソース ID フィールド | account_id |
| 公開 API ルート | GET /v1/public/accounts/{account_id}/workspaces |
引数
引数
| 名前 | 型 | 必須 |
|---|---|---|
account_id | str | はい |
page | int | いいえ |
page_size | int | いいえ |
戻り値
戻り値
| フィールド | 型 | 必須 |
|---|---|---|
items | [{"account_id": str, "id": str, "name": str, "created_at"?: str | null, "status"?: str, "updated_at"?: str | null}] | はい |
page | int | はい |
page_size | int | はい |
total | int | はい |
A2A の例
A2A の例
リクエスト:レスポンス:
MCP の例
MCP の例
リクエスト:レスポンス:
workspaces.update
workspaces.update.
| プロパティ | 値 | プロパティ | 値 |
|---|---|---|---|
| 必要な権限 | workspace.manage | 認証必須 | はい |
| 実行モード | sync | 機能権限 | workspace.manage |
| リソースタイプ | account | リソース ID フィールド | account_id |
| 公開 API ルート | PATCH /v1/public/accounts/{account_id}/workspaces/{workspace_id} |
引数
引数
| 名前 | 型 | 必須 |
|---|---|---|
account_id | str | はい |
workspace_id | str | はい |
name | str | はい |
戻り値
戻り値
| フィールド | 型 | 必須 |
|---|---|---|
account_id | str | はい |
id | str | はい |
name | str | はい |
created_at | str | null | いいえ |
status | str | いいえ |
updated_at | str | null | いいえ |
A2A の例
A2A の例
リクエスト:レスポンス:
MCP の例
MCP の例
リクエスト:レスポンス: