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

twdesk

package
v1.18.2 Latest Latest
Warning

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

Go to latest
Published: May 11, 2026 License: MIT Imports: 15 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 (
	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"
)

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, and tags.
	ToolsetAdmin toolsets.Method = "twdesk-admin"
)

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 (
	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 (
	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

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