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

twdesk

package
v1.48.2 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MethodCompanyCreate toolsets.Method = "twdesk-create_company"
	MethodCompanyUpdate toolsets.Method = "twdesk-update_company"
	MethodCompanyGet    toolsets.Method = "twdesk-get_company"
	MethodCompanyList   toolsets.Method = "twdesk-list_companies"
)

List of methods available in the Teamwork.com MCP service.

The naming convention for methods follows a pattern described here: https://github.com/github/github-mcp-server/issues/333

View Source
const (
	MethodCustomerCreate toolsets.Method = "twdesk-create_customer"
	MethodCustomerUpdate toolsets.Method = "twdesk-update_customer"
	MethodCustomerGet    toolsets.Method = "twdesk-get_customer"
	MethodCustomerList   toolsets.Method = "twdesk-list_customers"
)

List of methods available in the Teamwork.com MCP service.

The naming convention for methods follows a pattern described here: https://github.com/github/github-mcp-server/issues/333

View Source
const (
	MethodHelpDocArticleCreate toolsets.Method = "twdesk-create_helpdoc_article"
	MethodHelpDocArticleUpdate toolsets.Method = "twdesk-update_helpdoc_article"
	MethodHelpDocArticleGet    toolsets.Method = "twdesk-get_helpdoc_article"
	MethodHelpDocArticleSearch toolsets.Method = "twdesk-search_helpdoc_articles"
	MethodHelpDocCategoryList  toolsets.Method = "twdesk-list_helpdoc_categories"
)

List of methods available in the Teamwork.com MCP service.

The naming convention for methods follows a pattern described here: https://github.com/github/github-mcp-server/issues/333

View Source
const (
	MethodHelpDocSiteGet  toolsets.Method = "twdesk-get_helpdoc_site"
	MethodHelpDocSiteList toolsets.Method = "twdesk-list_helpdoc_sites"
)

List of methods available in the Teamwork.com MCP service.

The naming convention for methods follows a pattern described here: https://github.com/github/github-mcp-server/issues/333

View Source
const (
	MethodInboxGet  toolsets.Method = "twdesk-get_inbox"
	MethodInboxList toolsets.Method = "twdesk-list_inboxes"
)

List of methods available in the Teamwork.com MCP service.

The naming convention for methods follows a pattern described here: https://github.com/github/github-mcp-server/issues/333

View Source
const (
	MethodPriorityCreate toolsets.Method = "twdesk-create_priority"
	MethodPriorityUpdate toolsets.Method = "twdesk-update_priority"
	MethodPriorityGet    toolsets.Method = "twdesk-get_priority"
	MethodPriorityList   toolsets.Method = "twdesk-list_priorities"
)

List of methods available in the Teamwork.com MCP service.

The naming convention for methods follows a pattern described here: https://github.com/github/github-mcp-server/issues/333

View Source
const (
	MethodStatusCreate toolsets.Method = "twdesk-create_status"
	MethodStatusUpdate toolsets.Method = "twdesk-update_status"
	MethodStatusGet    toolsets.Method = "twdesk-get_status"
	MethodStatusList   toolsets.Method = "twdesk-list_statuses"
)

List of methods available in the Teamwork.com MCP service.

The naming convention for methods follows a pattern described here: https://github.com/github/github-mcp-server/issues/333

View Source
const (
	MethodTagCreate toolsets.Method = "twdesk-create_tag"
	MethodTagUpdate toolsets.Method = "twdesk-update_tag"
	MethodTagGet    toolsets.Method = "twdesk-get_tag"
	MethodTagList   toolsets.Method = "twdesk-list_tags"
)

List of methods available in the Teamwork.com MCP service.

The naming convention for methods follows a pattern described here: https://github.com/github/github-mcp-server/issues/333

View Source
const (
	MethodTicketCreate     toolsets.Method = "twdesk-create_ticket"
	MethodTicketUpdate     toolsets.Method = "twdesk-update_ticket"
	MethodTicketGet        toolsets.Method = "twdesk-get_ticket"
	MethodTicketSearch     toolsets.Method = "twdesk-search_tickets"
	MethodTicketTaskLink   toolsets.Method = "twdesk-link_task_to_ticket"
	MethodTicketTaskUnlink toolsets.Method = "twdesk-unlink_task_from_ticket"
)

List of methods available in the Teamwork.com MCP service.

The naming convention for methods follows a pattern described here: https://github.com/github/github-mcp-server/issues/333

View Source
const (
	// ToolsetTickets covers tickets, messages, files, and inboxes.
	ToolsetTickets toolsets.Method = "twdesk-tickets"
	// ToolsetCustomers covers companies, customers, and users.
	ToolsetCustomers toolsets.Method = "twdesk-customers"
	// ToolsetAdmin covers priorities, statuses, types, tags, sources, custom
	// fields and happiness ratings.
	ToolsetAdmin toolsets.Method = "twdesk-admin"
	// ToolsetHelpDocs covers help doc articles and sites.
	ToolsetHelpDocs toolsets.Method = "twdesk-helpdocs"
)

Sub-toolset keys for twdesk. These are the valid values for the -toolsets flag when selecting Teamwork Desk functionality.

View Source
const (
	MethodTypeCreate toolsets.Method = "twdesk-create_ticket_type"
	MethodTypeUpdate toolsets.Method = "twdesk-update_ticket_type"
	MethodTypeGet    toolsets.Method = "twdesk-get_ticket_type"
	MethodTypeList   toolsets.Method = "twdesk-list_ticket_types"
)

List of methods available in the Teamwork.com MCP service.

The naming convention for methods follows a pattern described here: https://github.com/github/github-mcp-server/issues/333

View Source
const (
	MethodUserGet  toolsets.Method = "twdesk-get_user"
	MethodUserList toolsets.Method = "twdesk-list_users"
)

List of methods available in the Teamwork.com MCP service.

The naming convention for methods follows a pattern described here: https://github.com/github/github-mcp-server/issues/333

View Source
const (
	MethodCustomFieldList toolsets.Method = "twdesk-list_custom_fields"
)

List of methods available in the Teamwork.com MCP service.

The naming convention for methods follows a pattern described here: https://github.com/github/github-mcp-server/issues/333

View Source
const (
	MethodFileCreate toolsets.Method = "twdesk-create_file"
)

List of methods available in the Teamwork.com MCP service.

The naming convention for methods follows a pattern described here: https://github.com/github/github-mcp-server/issues/333

View Source
const (
	MethodHappinessRatingOptionList toolsets.Method = "twdesk-list_happiness_rating_options"
)

List of methods available in the Teamwork.com MCP service.

The naming convention for methods follows a pattern described here: https://github.com/github/github-mcp-server/issues/333

View Source
const (
	MethodMessageCreate toolsets.Method = "twdesk-reply_ticket"
)

List of methods available in the Teamwork.com MCP service.

The naming convention for methods follows a pattern described here: https://github.com/github/github-mcp-server/issues/333

View Source
const (
	MethodSourceList toolsets.Method = "twdesk-list_ticket_sources"
)

List of methods available in the Teamwork.com MCP service.

The naming convention for methods follows a pattern described here: https://github.com/github/github-mcp-server/issues/333

Variables

This section is empty.

Functions

func ClientFromContext added in v1.8.2

func ClientFromContext(ctx context.Context, httpClient *http.Client) *deskclient.Client

ClientFromContext creates a new Desk client with the correct base URL based on the context. It uses the customer URL from context if available, otherwise defaults to https://api.teamwork.com/desk/api/v2 It also extracts the bearer token from the context and passes it via WithAPIKey.

func CompanyCreate

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

CompanyCreate creates a company in Teamwork Desk

func CompanyGet

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

CompanyGet finds a company in Teamwork Desk. This will find it by ID

func CompanyList

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

CompanyList returns a list of companies that apply to the filters in Teamwork Desk

func CompanyUpdate

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

CompanyUpdate updates a company in Teamwork Desk

func CustomFieldList added in v1.48.0

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

CustomFieldList lists the ticket custom fields of a Teamwork Desk installation, with the options of the fields that have them.

func CustomerCreate

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

CustomerCreate creates a customer in Teamwork Desk

func CustomerGet

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

CustomerGet finds a customer in Teamwork Desk. This will find it by ID

func CustomerList

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

CustomerList returns a list of customers that apply to the filters in Teamwork Desk

func CustomerUpdate

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

CustomerUpdate updates a customer in Teamwork Desk

func DefaultToolsetGroup

func DefaultToolsetGroup(readOnly bool, httpClient *http.Client) *toolsets.ToolsetGroup

DefaultToolsetGroup creates a default ToolsetGroup for Teamwork Desk.

func FileCreate added in v1.5.7

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

FileCreate creates a file in Teamwork Desk

func HappinessRatingOptionList added in v1.48.0

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

HappinessRatingOptionList lists the ratings a customer can give a ticket in Teamwork Desk.

func HelpDocArticleCreate added in v1.21.4

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

HelpDocArticleCreate creates a new help doc article.

func HelpDocArticleGet added in v1.21.4

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

HelpDocArticleGet retrieves a single help doc article by ID.

func HelpDocArticleSearch added in v1.21.4

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

HelpDocArticleSearch searches help doc articles using the dedicated search API.

func HelpDocArticleUpdate added in v1.21.4

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

HelpDocArticleUpdate updates an existing help doc article.

func HelpDocCategoryList added in v1.44.0

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

HelpDocCategoryList lists the categories of a help doc site.

func HelpDocSiteGet added in v1.27.0

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

HelpDocSiteGet retrieves a single help doc site by ID.

func HelpDocSiteList added in v1.27.0

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

HelpDocSiteList returns a list of help doc sites that apply to the filters in Teamwork Desk.

func InboxGet added in v1.6.0

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

InboxGet finds a inbox in Teamwork Desk. This will find it by ID

func InboxList added in v1.6.0

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

InboxList returns a list of inboxes that apply to the filters in Teamwork Desk

func MessageCreate

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

MessageCreate replies to a ticket in Teamwork Desk.

func PriorityCreate

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

PriorityCreate creates a priority in Teamwork Desk

func PriorityGet

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

PriorityGet finds a priority in Teamwork Desk. This will find it by ID

func PriorityList

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

PriorityList returns a list of priorities that apply to the filters in Teamwork Desk

func PriorityUpdate

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

PriorityUpdate updates a priority in Teamwork Desk

func SourceList added in v1.48.0

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

SourceList lists the channels a ticket can arrive through in Teamwork Desk.

func StatusCreate

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

StatusCreate creates a status in Teamwork Desk

func StatusGet

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

StatusGet finds a status in Teamwork Desk. This will find it by ID

func StatusList

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

StatusList returns a list of statuses that apply to the filters in Teamwork Desk

func StatusUpdate

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

StatusUpdate updates a status in Teamwork Desk

func TagCreate

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

TagCreate creates a tag in Teamwork Desk

func TagGet

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

TagGet finds a tag in Teamwork Desk. This will find it by ID

func TagList

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

TagList returns a list of tags that apply to the filters in Teamwork Desk

func TagUpdate

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

TagUpdate updates a tag in Teamwork Desk

func TicketCreate

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

TicketCreate creates a ticket in Teamwork Desk

func TicketGet

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

TicketGet finds a ticket in Teamwork Desk. This will find it by ID

func TicketSearch added in v1.6.1

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

TicketSearch uses the search API to find tickets in Teamwork Desk

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

TicketTaskLink links a Teamwork Projects task to a Teamwork Desk ticket.

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

TicketTaskUnlink removes the link between a Teamwork Projects task and a Teamwork Desk ticket.

func TicketUpdate

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

TicketUpdate updates a ticket in Teamwork Desk

func TypeCreate

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

TypeCreate creates a type in Teamwork Desk

func TypeGet

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

TypeGet finds a type in Teamwork Desk. This will find it by ID

func TypeList

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

TypeList returns a list of types that apply to the filters in Teamwork Desk

func TypeUpdate

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

TypeUpdate updates a type in Teamwork Desk

func UserGet

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

UserGet finds a user in Teamwork Desk. This will find it by ID

func UserList

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

UserList returns a list of users that apply to the filters in Teamwork Desk

Types

This section is empty.

Jump to

Keyboard shortcuts

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