What the model is told
Add a comment to a Linear issue using its identifier, such as ENG-123. Use it to record new information from the customer. Tell the customer the note has been added.
Request
POSThttps://api.linear.app/graphql
Headers
Content-Typeapplication/jsonAuthorizationYOUR_LINEAR_API_KEY
Body
{
"query": "mutation ($input: CommentCreateInput!) { commentCreate(input: $input) { success } }",
"variables": {
"input": {
"issueId": "{{issueId}}",
"body": "{{comment}}"
}
}
}Parameters
issueId stringThe issue identifier or ID.comment stringThe comment text, in markdown.
Engage payload
{
"source": "VOICE_AI",
"tool": {
"id": "9b539313-8412-432f-abf9-e4837fcdaa89",
"type": "HTTP_REQUEST",
"label": "Add Linear Issue Comment",
"name": "add_linear_issue_comment",
"customName": false,
"description": "Add a comment to a Linear issue using its identifier, such as ENG-123. Use it to record new information from the customer. Tell the customer the note has been added.",
"parameters": [
{
"name": "issueId",
"type": "string",
"description": "The issue identifier or ID."
},
{
"name": "comment",
"type": "string",
"description": "The comment text, in markdown."
}
],
"config": {
"endpoint": {
"method": "POST",
"url": "https://api.linear.app/graphql"
},
"headers": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "Authorization",
"value": "YOUR_LINEAR_API_KEY"
}
],
"body": "{\n \"query\": \"mutation ($input: CommentCreateInput!) { commentCreate(input: $input) { success } }\",\n \"variables\": {\n \"input\": {\n \"issueId\": \"{{issueId}}\",\n \"body\": \"{{comment}}\"\n }\n }\n}",
"timeout": null
}
}
}IDs are regenerated on every copy.