Documentation
¶
Index ¶
- func GetCommentTool() *mcp.Tool
- func GetEpicTool() *mcp.Tool
- func GetFeatureTool() *mcp.Tool
- func GetGoalTool() *mcp.Tool
- func GetIdeaTool() *mcp.Tool
- func GetInitiativeTool() *mcp.Tool
- func GetKeyResultTool() *mcp.Tool
- func GetPersonaTool() *mcp.Tool
- func GetReleaseTool() *mcp.Tool
- func GetRequirementTool() *mcp.Tool
- func GetTeamTool() *mcp.Tool
- func GetUserTool() *mcp.Tool
- func GetWorkflowTool() *mcp.Tool
- func ListIdeasTool() *mcp.Tool
- func SearchDocumentsTool() *mcp.Tool
- type DocumentNode
- type GetCommentParams
- type GetEpicParams
- type GetFeatureParams
- type GetGoalParams
- type GetIdeaParams
- type GetInitiativeParams
- type GetKeyResultParams
- type GetPersonaParams
- type GetReleaseParams
- type GetRequirementParams
- type GetTeamParams
- type GetUserParams
- type GetWorkflowParams
- type GraphQLError
- type GraphQLRequest
- type GraphQLResponse
- type ListIdeasParams
- type SearchData
- type SearchDocumentsParams
- type SearchResults
- type ToolsClient
- func (tc *ToolsClient) AddTools(svr *mcp.Server)
- func (tc *ToolsClient) GetComment(ctx context.Context, req *mcp.CallToolRequest, params GetCommentParams) (*mcp.CallToolResult, any, error)
- func (tc *ToolsClient) GetEpic(ctx context.Context, req *mcp.CallToolRequest, params GetEpicParams) (*mcp.CallToolResult, any, error)
- func (tc *ToolsClient) GetFeature(ctx context.Context, req *mcp.CallToolRequest, params GetFeatureParams) (*mcp.CallToolResult, any, error)
- func (tc *ToolsClient) GetGoal(ctx context.Context, req *mcp.CallToolRequest, params GetGoalParams) (*mcp.CallToolResult, any, error)
- func (tc *ToolsClient) GetIdea(ctx context.Context, req *mcp.CallToolRequest, params GetIdeaParams) (*mcp.CallToolResult, any, error)
- func (tc *ToolsClient) GetInitiative(ctx context.Context, req *mcp.CallToolRequest, params GetInitiativeParams) (*mcp.CallToolResult, any, error)
- func (tc *ToolsClient) GetKeyResult(ctx context.Context, req *mcp.CallToolRequest, params GetKeyResultParams) (*mcp.CallToolResult, any, error)
- func (tc *ToolsClient) GetPersona(ctx context.Context, req *mcp.CallToolRequest, params GetPersonaParams) (*mcp.CallToolResult, any, error)
- func (tc *ToolsClient) GetRelease(ctx context.Context, req *mcp.CallToolRequest, params GetReleaseParams) (*mcp.CallToolResult, any, error)
- func (tc *ToolsClient) GetRequirement(ctx context.Context, req *mcp.CallToolRequest, params GetRequirementParams) (*mcp.CallToolResult, any, error)
- func (tc *ToolsClient) GetTeam(ctx context.Context, req *mcp.CallToolRequest, params GetTeamParams) (*mcp.CallToolResult, any, error)
- func (tc *ToolsClient) GetUser(ctx context.Context, req *mcp.CallToolRequest, params GetUserParams) (*mcp.CallToolResult, any, error)
- func (tc *ToolsClient) GetWorkflow(ctx context.Context, req *mcp.CallToolRequest, params GetWorkflowParams) (*mcp.CallToolResult, any, error)
- func (tc *ToolsClient) ListIdeas(ctx context.Context, req *mcp.CallToolRequest, params ListIdeasParams) (*mcp.CallToolResult, any, error)
- func (tc *ToolsClient) SearchDocuments(ctx context.Context, req *mcp.CallToolRequest, params SearchDocumentsParams) (*mcp.CallToolResult, any, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCommentTool ¶
func GetEpicTool ¶
func GetFeatureTool ¶
func GetGoalTool ¶
func GetIdeaTool ¶
func GetInitiativeTool ¶
func GetKeyResultTool ¶
func GetPersonaTool ¶
func GetReleaseTool ¶
func GetRequirementTool ¶
func GetTeamTool ¶
func GetUserTool ¶
func GetWorkflowTool ¶
func ListIdeasTool ¶ added in v0.6.0
func SearchDocumentsTool ¶ added in v0.5.0
Types ¶
type DocumentNode ¶ added in v0.5.0
type GetCommentParams ¶
type GetCommentParams struct {
CommentID string `json:"comment_id" description:"Comment ID to get"`
}
type GetEpicParams ¶
type GetEpicParams struct {
EpicID string `json:"epic_id" description:"Epic ID to get"`
}
type GetFeatureParams ¶
type GetFeatureParams struct {
FeatureID string `json:"feature_id" description:"Feature ID to get"`
}
type GetGoalParams ¶
type GetGoalParams struct {
GoalID string `json:"goal_id" description:"Goal ID to get"`
}
type GetIdeaParams ¶
type GetIdeaParams struct {
IdeaID string `json:"idea_id" description:"Idea ID to get"`
}
type GetInitiativeParams ¶
type GetInitiativeParams struct {
InitiativeID string `json:"initiative_id" description:"Initiative ID to get"`
}
type GetKeyResultParams ¶
type GetKeyResultParams struct {
KeyResultID string `json:"key_result_id" description:"Key Result ID to get"`
}
type GetPersonaParams ¶
type GetPersonaParams struct {
PersonaID string `json:"persona_id" description:"Persona ID to get"`
}
type GetReleaseParams ¶
type GetReleaseParams struct {
ReleaseID string `json:"release_id" description:"Release ID to get"`
}
type GetRequirementParams ¶
type GetRequirementParams struct {
RequirementID string `json:"requirement_id" description:"Requirement ID to get"`
}
type GetTeamParams ¶
type GetTeamParams struct {
TeamID string `json:"team_id" description:"Team ID to get"`
}
type GetUserParams ¶
type GetUserParams struct {
UserID string `json:"user_id" description:"User ID to get"`
}
type GetWorkflowParams ¶
type GetWorkflowParams struct {
WorkflowID string `json:"workflow_id" description:"Workflow ID to get"`
}
type GraphQLError ¶ added in v0.5.0
type GraphQLError struct {
Message string `json:"message"`
}
type GraphQLRequest ¶ added in v0.5.0
type GraphQLResponse ¶ added in v0.5.0
type GraphQLResponse struct {
Data SearchData `json:"data"`
Errors []GraphQLError `json:"errors,omitempty"`
}
type ListIdeasParams ¶ added in v0.6.0
type ListIdeasParams struct {
Q string `json:"q,omitempty" description:"Search term to match against the idea name"`
Spam *bool `json:"spam,omitempty" description:"When true, shows ideas marked as spam"`
WorkflowStatus string `json:"workflow_status,omitempty" description:"Filter by workflow status ID or name"`
Sort string `json:"sort,omitempty" description:"Sort by: recent, trending, or popular"`
CreatedBefore string `json:"created_before,omitempty" description:"UTC timestamp (ISO8601). Only ideas created before this time"`
CreatedSince string `json:"created_since,omitempty" description:"UTC timestamp (ISO8601). Only ideas created after this time"`
UpdatedSince string `json:"updated_since,omitempty" description:"UTC timestamp (ISO8601). Only ideas updated after this time"`
Tag string `json:"tag,omitempty" description:"Filter by tag value"`
UserID string `json:"user_id,omitempty" description:"Filter by creator user ID"`
IdeaUserID string `json:"idea_user_id,omitempty" description:"Filter by idea user ID"`
Page *int32 `json:"page,omitempty" description:"Page number"`
PerPage *int32 `json:"per_page,omitempty" description:"Results per page"`
}
type SearchData ¶ added in v0.5.0
type SearchData struct {
Search SearchResults `json:"search"`
}
type SearchDocumentsParams ¶ added in v0.5.0
type SearchResults ¶ added in v0.5.0
type SearchResults struct {
Nodes []DocumentNode `json:"nodes"`
CurrentPage int `json:"currentPage"`
TotalCount int `json:"totalCount"`
TotalPages int `json:"totalPages"`
IsLastPage bool `json:"isLastPage"`
}
type ToolsClient ¶
type ToolsClient struct {
// contains filtered or unexported fields
}
func NewToolsClient ¶
func NewToolsClient(ahaSubdomain, ahaAPIKey string) (*ToolsClient, error)
func (*ToolsClient) AddTools ¶
func (tc *ToolsClient) AddTools(svr *mcp.Server)
func (*ToolsClient) GetComment ¶
func (tc *ToolsClient) GetComment(ctx context.Context, req *mcp.CallToolRequest, params GetCommentParams) (*mcp.CallToolResult, any, error)
func (*ToolsClient) GetEpic ¶
func (tc *ToolsClient) GetEpic(ctx context.Context, req *mcp.CallToolRequest, params GetEpicParams) (*mcp.CallToolResult, any, error)
func (*ToolsClient) GetFeature ¶
func (tc *ToolsClient) GetFeature(ctx context.Context, req *mcp.CallToolRequest, params GetFeatureParams) (*mcp.CallToolResult, any, error)
func (*ToolsClient) GetGoal ¶
func (tc *ToolsClient) GetGoal(ctx context.Context, req *mcp.CallToolRequest, params GetGoalParams) (*mcp.CallToolResult, any, error)
func (*ToolsClient) GetIdea ¶
func (tc *ToolsClient) GetIdea(ctx context.Context, req *mcp.CallToolRequest, params GetIdeaParams) (*mcp.CallToolResult, any, error)
func (*ToolsClient) GetInitiative ¶
func (tc *ToolsClient) GetInitiative(ctx context.Context, req *mcp.CallToolRequest, params GetInitiativeParams) (*mcp.CallToolResult, any, error)
func (*ToolsClient) GetKeyResult ¶
func (tc *ToolsClient) GetKeyResult(ctx context.Context, req *mcp.CallToolRequest, params GetKeyResultParams) (*mcp.CallToolResult, any, error)
func (*ToolsClient) GetPersona ¶
func (tc *ToolsClient) GetPersona(ctx context.Context, req *mcp.CallToolRequest, params GetPersonaParams) (*mcp.CallToolResult, any, error)
func (*ToolsClient) GetRelease ¶
func (tc *ToolsClient) GetRelease(ctx context.Context, req *mcp.CallToolRequest, params GetReleaseParams) (*mcp.CallToolResult, any, error)
func (*ToolsClient) GetRequirement ¶
func (tc *ToolsClient) GetRequirement(ctx context.Context, req *mcp.CallToolRequest, params GetRequirementParams) (*mcp.CallToolResult, any, error)
func (*ToolsClient) GetTeam ¶
func (tc *ToolsClient) GetTeam(ctx context.Context, req *mcp.CallToolRequest, params GetTeamParams) (*mcp.CallToolResult, any, error)
func (*ToolsClient) GetUser ¶
func (tc *ToolsClient) GetUser(ctx context.Context, req *mcp.CallToolRequest, params GetUserParams) (*mcp.CallToolResult, any, error)
func (*ToolsClient) GetWorkflow ¶
func (tc *ToolsClient) GetWorkflow(ctx context.Context, req *mcp.CallToolRequest, params GetWorkflowParams) (*mcp.CallToolResult, any, error)
func (*ToolsClient) ListIdeas ¶ added in v0.6.0
func (tc *ToolsClient) ListIdeas(ctx context.Context, req *mcp.CallToolRequest, params ListIdeasParams) (*mcp.CallToolResult, any, error)
func (*ToolsClient) SearchDocuments ¶ added in v0.5.0
func (tc *ToolsClient) SearchDocuments(ctx context.Context, req *mcp.CallToolRequest, params SearchDocumentsParams) (*mcp.CallToolResult, any, error)
Source Files
¶
- client.go
- client_tools_add.go
- tool_get_comment.go
- tool_get_epic.go
- tool_get_feature.go
- tool_get_goal.go
- tool_get_idea.go
- tool_get_initiative.go
- tool_get_key_result.go
- tool_get_persona.go
- tool_get_release.go
- tool_get_requirement.go
- tool_get_team.go
- tool_get_user.go
- tool_get_workflow.go
- tool_list_ideas.go
- tool_search_documents.go
Click to show internal directories.
Click to hide internal directories.