457f59932a
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Docker / build (push) Has been cancelled
Build and Test Go Project / build (macos-latest) (push) Has been cancelled
Build and Test Go Project / build (ubuntu-latest) (push) Has been cancelled
Build and Test Go Project / build (windows-latest) (push) Has been cancelled
GoReleaser Release / release (push) Has been cancelled
MCP Server Diff / mcp-diff (push) Has been cancelled
MCP Server Diff / mcp-diff-http (push) Has been cancelled
Publish to MCP Registry / publish (push) Has been cancelled
Add an optional confidence integer parameter (0–100) to update_issue_type, update_issue_labels, and set_issue_fields MCP tools. The confidence score is passed through to the REST/GraphQL API on mutation calls. - Rename structs to WithIntent (labelWithIntent, issueTypeWithIntent) - Add confidence schema property (integer, min 0, max 100) with prompt guidance describing what different confidence levels represent - Update tool descriptions to encourage including confidence scores - Pass confidence in the API request body alongside rationale/suggest Closes github/plan-track-agentic-toolkit#219 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
88 lines
3.5 KiB
Plaintext
88 lines
3.5 KiB
Plaintext
{
|
|
"annotations": {
|
|
"destructiveHint": false,
|
|
"openWorldHint": true,
|
|
"title": "Set Issue Fields"
|
|
},
|
|
"description": "Set issue field values for an issue. Fields are organization-level custom fields (text, number, date, or single select). Use this to create or update field values on an issue. When setting values, include a confidence level (low, medium, or high) reflecting how certain you are about the choice.",
|
|
"inputSchema": {
|
|
"properties": {
|
|
"fields": {
|
|
"description": "Array of issue field values to set. Each element must have a 'field_id' (string, the GraphQL node ID of the field) and exactly one value field: 'text_value' for text fields, 'number_value' for number fields, 'date_value' (ISO 8601 date string) for date fields, or 'single_select_option_id' (the GraphQL node ID of the option) for single select fields. Set 'delete' to true to remove a field value.",
|
|
"items": {
|
|
"properties": {
|
|
"confidence": {
|
|
"description": "How confident you are in this choice. Use 'high' for clear signal or explicit user request, 'medium' for reasonable inference with some ambiguity, 'low' for best guess with limited signal.",
|
|
"enum": [
|
|
"low",
|
|
"medium",
|
|
"high"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"date_value": {
|
|
"description": "The value to set for a date field (ISO 8601 date string)",
|
|
"type": "string"
|
|
},
|
|
"delete": {
|
|
"description": "Set to true to delete this field value",
|
|
"type": "boolean"
|
|
},
|
|
"field_id": {
|
|
"description": "The GraphQL node ID of the issue field",
|
|
"type": "string"
|
|
},
|
|
"is_suggestion": {
|
|
"description": "If true, this field value is sent to the API as a suggestion (suggest:true) rather than an applied value. Whether the value is applied or recorded as a proposal is determined by the API.",
|
|
"type": "boolean"
|
|
},
|
|
"number_value": {
|
|
"description": "The value to set for a number field",
|
|
"type": "number"
|
|
},
|
|
"rationale": {
|
|
"description": "One concise sentence explaining what specifically about the issue led you to choose this field value. State the concrete signal (e.g. 'Reports a crash when saving' → high priority).",
|
|
"maxLength": 280,
|
|
"type": "string"
|
|
},
|
|
"single_select_option_id": {
|
|
"description": "The GraphQL node ID of the option to set for a single select field",
|
|
"type": "string"
|
|
},
|
|
"text_value": {
|
|
"description": "The value to set for a text field",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"field_id"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"minItems": 1,
|
|
"type": "array"
|
|
},
|
|
"issue_number": {
|
|
"description": "The issue number to update",
|
|
"minimum": 1,
|
|
"type": "number"
|
|
},
|
|
"owner": {
|
|
"description": "Repository owner (username or organization)",
|
|
"type": "string"
|
|
},
|
|
"repo": {
|
|
"description": "Repository name",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"owner",
|
|
"repo",
|
|
"issue_number",
|
|
"fields"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"name": "set_issue_fields"
|
|
} |