Skip to main content

Tools Reference

Complete reference for all AgentGate tools. Tools in the Read category work immediately. Tools in the Write category create pending changes that require human approval before they're applied to Jira.

Session

prime

Get project status: in-progress issues, pending changes, failed changes, and contextual tips.

ParameterTypeRequiredDescription
project_keystringNoOverride default project

Example:

prime()
prime(project_key: "OTHER")

Reading Issues

issues_list

Search issues with filters or raw JQL. Returns a paginated list of matching issues.

ParameterTypeRequiredDescription
project_keystringNoOverride default project
statusstringNoFilter: "open", "in_progress", "done", or an exact status name
assigneestringNoFilter: "me", "unassigned", or a display name
labelsstring[]NoFilter by labels (OR logic)
parentstringNoFilter by parent issue key
typestringNoFilter by issue type: "Bug", "Task", "Story", "Epic"
prioritystringNoFilter: "Highest", "High", "Medium", "Low", "Lowest"
jqlstringNoRaw JQL query (overrides all other filters)
limitnumberNoMax results (default 50)
next_page_tokenstringNoCursor for next page

Examples:

issues_list(status: "in_progress")
issues_list(assignee: "me", priority: "High")
issues_list(jql: "project = PROJ AND text ~ 'marketplace' ORDER BY updated DESC")
issues_list(parent: "PROJ-100")
issues_list(labels: ["backend", "urgent"])

issues_show

Get full details of a single issue including description, status, comments, links, and attachments.

ParameterTypeRequiredDescription
keystringYesIssue key (e.g., "PROJ-123")

issues_children

Get child issues of a parent. Optionally recurse the full tree.

ParameterTypeRequiredDescription
keystringYesParent issue key
recursivebooleanNoFetch full descendant tree (default: false)

issues_context

Get complete context for an issue: parent chain, siblings, children, links, and recent comments. Useful for understanding an issue in its full project context.

ParameterTypeRequiredDescription
keystringYesIssue key
children_depthnumberNoDepth of children to fetch (default: 1)

issues_transitions

Get available workflow transitions for an issue. Use this before issues_transition to see what status changes are valid.

ParameterTypeRequiredDescription
keystringYesIssue key

workflow_describe

Describe the project's workflow: issue types and their status transitions.

ParameterTypeRequiredDescription
project_keystringNoOverride default project

issues_attachments_download

Download attachments from an issue.

ParameterTypeRequiredDescription
keystringYesIssue key
attachment_idstringNoSpecific attachment ID (downloads all if omitted)

Writing (Pending Approval)

All write operations create pending changes. Nothing is applied to Jira until a human approves.

changes_create

Propose creating, updating, transitioning, or deleting an issue.

ParameterTypeRequiredDescription
typestringYes"create", "update", "transition", or "delete"
issue_keystringFor update/transition/deleteTarget issue key
project_keystringNoOverride default project (for create)
proposedobjectYesProposed field values (see below)
reasonstringNoHuman-readable reason for the change

Proposed fields for create:

FieldTypeDescription
summarystringIssue title
issueTypestring"Bug", "Task", "Story", "Epic", etc.
descriptionstringIssue description
prioritystring"Highest", "High", "Medium", "Low", "Lowest"
labelsstring[]Labels to set
parentstringParent issue key
assigneestringDisplay name, or null to unassign
childrenobject[]Child issues to create atomically (each has summary, issueType, etc.)
linksobject[]Issue links (type, direction, targetKey)

Proposed fields for update: Same as create — only include fields you want to change.

Examples:

// Create a simple task
changes_create(
type: "create",
proposed: {
summary: "Fix login timeout",
issueType: "Bug",
priority: "High"
},
reason: "Reported by 3 users this week"
)

// Create Epic with children
changes_create(
type: "create",
proposed: {
summary: "Auth Overhaul",
issueType: "Epic",
children: [
{ summary: "Implement OAuth 2.0", issueType: "Story" },
{ summary: "Add password reset", issueType: "Story" },
{ summary: "Write auth tests", issueType: "Task" }
]
},
reason: "Q2 security initiative"
)

// Update an issue
changes_create(
type: "update",
issue_key: "PROJ-123",
proposed: { priority: "Highest", labels: ["urgent"] },
reason: "Customer escalation"
)

// Delete an issue
changes_create(
type: "delete",
issue_key: "PROJ-999",
reason: "Duplicate of PROJ-123"
)

comment

Add a comment to an issue.

ParameterTypeRequiredDescription
keystringYesIssue key
bodystringYesComment text

issues_transition

Move an issue to a new status.

ParameterTypeRequiredDescription
keystringYesIssue key
statusstringYesTarget status name (e.g., "In Progress", "Done")
reasonstringNoReason for the transition

issues_assign

Assign an issue to a user.

ParameterTypeRequiredDescription
keystringYesIssue key
assigneestringYesDisplay name, "me", or null to unassign

issues_attachments_upload

Upload a file attachment to an issue (max 2MB).

ParameterTypeRequiredDescription
keystringYesIssue key
file_pathstringYesPath to the file to upload

Managing Changes

changes_list

List changes filtered by status.

ParameterTypeRequiredDescription
statusstringNo"pending", "approved", "rejected", "failed"

changes_show

View details of a specific change, including the proposed diff against current Jira state.

ParameterTypeRequiredDescription
idstringYesChange ID (e.g., "chg-abc123")

changes_update

Modify a pending change before it's reviewed. Useful for correcting mistakes without cancelling and re-proposing.

ParameterTypeRequiredDescription
idstringYesChange ID
proposedobjectNoUpdated proposed fields
commentobjectNoUpdated comment ({ body: "..." })
reasonstringNoUpdated reason
Updating comments

For pending comment changes, use the comment parameter (not proposed):

changes_update(id: "chg-xxx", comment: { body: "Corrected text" })

changes_cancel

Cancel a pending change. The change is discarded and never applied.

ParameterTypeRequiredDescription
idstringYesChange ID