skein_comment
Add a comment to an existing issue. The comment is recorded with authorType="agent" so the timeline distinguishes agent-authored notes from human ones. body must be non-empty after trim and at most 100k characters.
The kind parameter (REQUIRED for agent callers) determines the resulting comment's authorKind: kind="directed" → authorKind="agent_directed" (the human user told the agent to post this comment, e.g. "reply to demo-42 with my answer below"); kind="autonomous" → authorKind="agent_autonomous" (the agent posted on its own initiative — handoff note, progress update, side-quest finding). The Humans/Agents filter chips on the comment thread fold human + agent_directed into "Humans" and surface agent_autonomous separately as "Agents". authorType (transport) stays agent regardless of kind.
The response is the created comment MINUS body, plus bodyOmitted:true — every other field of the comment is returned untouched, so this is an omission of one key, not an allowlist. You just supplied the text, and an echoed copy would sit in your context for the rest of the session and be re-sent on every later turn. What that leaves you includes id (for a follow-up skein_comment_update / skein_comment_delete) and version (the expectedVersion token). To read a body back — yours or anyone's — use skein_comment_get (by id) or skein_show (the thread). A write that lost a database serialization race (nothing written) returns serialization_retry — retry the call verbatim.
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": {
"issueId": "<issueId>",
"body": "<body>"
},
"name": "skein_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Comment body (markdown). Non-empty after trim. | |
| kind | No | Comment origin classification (REQUIRED for agent callers): "directed" = the human user told the agent to post this comment; "autonomous" = the agent posted on its own initiative (handoff note, progress, side-quest finding). Cookie-session callers ignore this parameter and force authorKind=human; MCP agent callers must specify it. | |
| issueId | Yes | Full hierarchical issue id (e.g. "demo-42"). |