Help us shape the future of Go! Take the 2026 Go Developer Survey

twspaces

package
v1.40.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
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.

View Source
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.

View Source
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.

View Source
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

View Source
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.

View Source
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.

View Source
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, allowDelete 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(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.

func TagGet

func TagGet(httpClient *http.Client) toolsets.ToolWrapper

TagGet retrieves a single tag by ID.

func TagList

func TagList(httpClient *http.Client) toolsets.ToolWrapper

TagList lists all tags.

func TagUpdate

func TagUpdate(httpClient *http.Client) toolsets.ToolWrapper

TagUpdate updates an existing tag.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL