Documentation
¶
Index ¶
- Constants
- func CategoryCreate(httpClient *http.Client) toolsets.ToolWrapper
- func CategoryDelete(httpClient *http.Client) toolsets.ToolWrapper
- func CategoryGet(httpClient *http.Client) toolsets.ToolWrapper
- func CategoryList(httpClient *http.Client) toolsets.ToolWrapper
- func CategoryUpdate(httpClient *http.Client) toolsets.ToolWrapper
- func CommentCreate(httpClient *http.Client) toolsets.ToolWrapper
- func CommentDelete(httpClient *http.Client) toolsets.ToolWrapper
- func CommentGet(httpClient *http.Client) toolsets.ToolWrapper
- func CommentList(httpClient *http.Client) toolsets.ToolWrapper
- func CommentUpdate(httpClient *http.Client) toolsets.ToolWrapper
- func DefaultToolsetGroup(readOnly bool, httpClient *http.Client) *toolsets.ToolsetGroup
- func PageCreate(httpClient *http.Client) toolsets.ToolWrapper
- func PageDelete(httpClient *http.Client) toolsets.ToolWrapper
- func PageDuplicate(httpClient *http.Client) toolsets.ToolWrapper
- func PageGet(httpClient *http.Client) toolsets.ToolWrapper
- func PageHome(httpClient *http.Client) toolsets.ToolWrapper
- func PageList(httpClient *http.Client) toolsets.ToolWrapper
- func PageUpdate(httpClient *http.Client) toolsets.ToolWrapper
- func Search(httpClient *http.Client) toolsets.ToolWrapper
- func SpaceCollaborators(httpClient *http.Client) toolsets.ToolWrapper
- func SpaceCreate(httpClient *http.Client) toolsets.ToolWrapper
- func SpaceDelete(httpClient *http.Client) toolsets.ToolWrapper
- func SpaceGet(httpClient *http.Client) toolsets.ToolWrapper
- func SpaceList(httpClient *http.Client) toolsets.ToolWrapper
- func SpaceUpdate(httpClient *http.Client) toolsets.ToolWrapper
- func TagCreateBatch(httpClient *http.Client) toolsets.ToolWrapper
- func TagDelete(httpClient *http.Client) toolsets.ToolWrapper
- func TagGet(httpClient *http.Client) toolsets.ToolWrapper
- func TagList(httpClient *http.Client) toolsets.ToolWrapper
- func TagUpdate(httpClient *http.Client) toolsets.ToolWrapper
Constants ¶
const ( MethodCategoryCreate toolsets.Method = "twspaces-create_category" MethodCategoryUpdate toolsets.Method = "twspaces-update_category" MethodCategoryDelete toolsets.Method = "twspaces-delete_category" MethodCategoryGet toolsets.Method = "twspaces-get_category" MethodCategoryList toolsets.Method = "twspaces-list_categories" )
List of category methods available in the Teamwork Spaces MCP service.
const ( MethodCommentCreate toolsets.Method = "twspaces-create_comment" MethodCommentUpdate toolsets.Method = "twspaces-update_comment" MethodCommentDelete toolsets.Method = "twspaces-delete_comment" MethodCommentGet toolsets.Method = "twspaces-get_comment" MethodCommentList toolsets.Method = "twspaces-list_comments" )
List of comment methods available in the Teamwork Spaces MCP service.
const ( MethodPageCreate toolsets.Method = "twspaces-create_page" MethodPageDuplicate toolsets.Method = "twspaces-duplicate_page" MethodPageUpdate toolsets.Method = "twspaces-update_page" MethodPageDelete toolsets.Method = "twspaces-delete_page" MethodPageGet toolsets.Method = "twspaces-get_page" MethodPageList toolsets.Method = "twspaces-list_pages" MethodPageHome toolsets.Method = "twspaces-get_homepage" )
List of page methods available in the Teamwork Spaces MCP service.
const ( MethodSpaceCreate toolsets.Method = "twspaces-create_space" MethodSpaceUpdate toolsets.Method = "twspaces-update_space" MethodSpaceDelete toolsets.Method = "twspaces-delete_space" MethodSpaceGet toolsets.Method = "twspaces-get_space" MethodSpaceList toolsets.Method = "twspaces-list_spaces" MethodSpaceCollaborators toolsets.Method = "twspaces-list_space_collaborators" )
List of methods available in the Teamwork Spaces MCP service.
The naming convention for methods follows a pattern described here: https://github.com/github/github-mcp-server/issues/333
const ( MethodTagCreateBatch toolsets.Method = "twspaces-create_tags" MethodTagUpdate toolsets.Method = "twspaces-update_tag" MethodTagDelete toolsets.Method = "twspaces-delete_tag" MethodTagGet toolsets.Method = "twspaces-get_tag" MethodTagList toolsets.Method = "twspaces-list_tags" )
List of tag methods available in the Teamwork Spaces MCP service.
const ( // ToolsetSpaces covers space CRUD and collaborators. ToolsetSpaces toolsets.Method = "twspaces-spaces" // ToolsetPages covers page CRUD, home, and duplication. ToolsetPages toolsets.Method = "twspaces-pages" // ToolsetContent covers comments, tags, categories, and search. ToolsetContent toolsets.Method = "twspaces-content" )
Sub-toolset keys for twspaces. These are the valid values for the -toolsets flag when selecting Teamwork Spaces functionality.
const MethodSearch toolsets.Method = "twspaces-search"
MethodSearch is the method name for searching pages in Teamwork Spaces.
Variables ¶
This section is empty.
Functions ¶
func CategoryCreate ¶
func CategoryCreate(httpClient *http.Client) toolsets.ToolWrapper
CategoryCreate creates a new category.
func CategoryDelete ¶
func CategoryDelete(httpClient *http.Client) toolsets.ToolWrapper
CategoryDelete deletes a category by ID.
func CategoryGet ¶
func CategoryGet(httpClient *http.Client) toolsets.ToolWrapper
CategoryGet retrieves a single category by ID.
func CategoryList ¶
func CategoryList(httpClient *http.Client) toolsets.ToolWrapper
CategoryList lists all categories.
func CategoryUpdate ¶
func CategoryUpdate(httpClient *http.Client) toolsets.ToolWrapper
CategoryUpdate updates an existing category.
func CommentCreate ¶
func CommentCreate(httpClient *http.Client) toolsets.ToolWrapper
CommentCreate creates a new comment on a page.
func CommentDelete ¶
func CommentDelete(httpClient *http.Client) toolsets.ToolWrapper
CommentDelete deletes a comment.
func CommentGet ¶
func CommentGet(httpClient *http.Client) toolsets.ToolWrapper
CommentGet retrieves a single comment by space, page, and comment ID.
func CommentList ¶
func CommentList(httpClient *http.Client) toolsets.ToolWrapper
CommentList lists all comments on a page.
func CommentUpdate ¶
func CommentUpdate(httpClient *http.Client) toolsets.ToolWrapper
CommentUpdate updates an existing comment.
func DefaultToolsetGroup ¶
func DefaultToolsetGroup(readOnly bool, httpClient *http.Client) *toolsets.ToolsetGroup
DefaultToolsetGroup creates a default ToolsetGroup for Teamwork Spaces.
func PageCreate ¶
func PageCreate(httpClient *http.Client) toolsets.ToolWrapper
PageCreate creates a new page within a space.
func PageDelete ¶
func PageDelete(httpClient *http.Client) toolsets.ToolWrapper
PageDelete deletes a page.
func PageDuplicate ¶
func PageDuplicate(httpClient *http.Client) toolsets.ToolWrapper
PageDuplicate duplicates an existing page within a space.
func PageGet ¶
func PageGet(httpClient *http.Client) toolsets.ToolWrapper
PageGet retrieves a single page by space ID and page ID.
func PageHome ¶
func PageHome(httpClient *http.Client) toolsets.ToolWrapper
PageHome retrieves the homepage of a space.
func PageList ¶
func PageList(httpClient *http.Client) toolsets.ToolWrapper
PageList returns the page tree for a space.
func PageUpdate ¶
func PageUpdate(httpClient *http.Client) toolsets.ToolWrapper
PageUpdate updates an existing page.
func Search ¶
func Search(httpClient *http.Client) toolsets.ToolWrapper
Search performs a full-text search across pages in Teamwork Spaces.
func SpaceCollaborators ¶
func SpaceCollaborators(httpClient *http.Client) toolsets.ToolWrapper
SpaceCollaborators lists the collaborators for a space.
func SpaceCreate ¶
func SpaceCreate(httpClient *http.Client) toolsets.ToolWrapper
SpaceCreate creates a new space.
func SpaceDelete ¶
func SpaceDelete(httpClient *http.Client) toolsets.ToolWrapper
SpaceDelete deletes a space by ID.
func SpaceGet ¶
func SpaceGet(httpClient *http.Client) toolsets.ToolWrapper
SpaceGet retrieves a single space by ID.
func SpaceList ¶
func SpaceList(httpClient *http.Client) toolsets.ToolWrapper
SpaceList returns a list of spaces.
func SpaceUpdate ¶
func SpaceUpdate(httpClient *http.Client) toolsets.ToolWrapper
SpaceUpdate updates an existing space.
func TagCreateBatch ¶
func TagCreateBatch(httpClient *http.Client) toolsets.ToolWrapper
TagCreateBatch creates one or more tags in a single request.
func TagDelete ¶
func TagDelete(httpClient *http.Client) toolsets.ToolWrapper
TagDelete deletes a tag by ID.
Types ¶
This section is empty.