apipost_workspace
Manage API documentation workspaces by viewing current workspace, listing teams and projects, and switching between different collaborative environments.
Instructions
工作空间管理:查看当前工作空间、列出团队和项目、切换工作空间
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | 操作类型:current(查看当前)、list_teams(列出团队)、list_projects(列出项目)、switch(切换工作空间) | |
project_id | No | 项目ID(用于switch) | |
project_name | No | 项目名称(用于按名称切换) | |
show_all | No | 是否显示所有可用的团队和项目,默认false | |
show_details | No | 是否显示详细信息,默认false | |
team_id | No | 团队ID(用于list_projects或switch) | |
team_name | No | 团队名称(用于按名称切换) |
Input Schema (JSON Schema)
{
"properties": {
"action": {
"description": "操作类型:current(查看当前)、list_teams(列出团队)、list_projects(列出项目)、switch(切换工作空间)",
"enum": [
"current",
"list_teams",
"list_projects",
"switch"
],
"type": "string"
},
"project_id": {
"description": "项目ID(用于switch)",
"type": "string"
},
"project_name": {
"description": "项目名称(用于按名称切换)",
"type": "string"
},
"show_all": {
"description": "是否显示所有可用的团队和项目,默认false",
"type": "boolean"
},
"show_details": {
"description": "是否显示详细信息,默认false",
"type": "boolean"
},
"team_id": {
"description": "团队ID(用于list_projects或switch)",
"type": "string"
},
"team_name": {
"description": "团队名称(用于按名称切换)",
"type": "string"
}
},
"required": [
"action"
],
"type": "object"
}