create_agent_session_on_issue
Opens an agent session attached to a Linear issue, allowing the agent to post a comment or thread under existing comments. Supports linking back to the agent's dashboard.
Instructions
Open an agent session attached to an issue.
session_type is one of comment (the agent posts a comment as
its output) or commentThread (the agent threads under existing
comments). external_url lets the agent surface a link back to
its own dashboard / run log.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"issue_id": "<issue_id>"
},
"name": "create_agent_session_on_issue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issue_id | Yes | ||
| workspace | No | ||
| external_url | No | ||
| session_type | No | comment |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||