create_comment
Adds a comment to a Spira artifact, such as an incident, task, or requirement, so you can record updates or discussion directly on the tracked item.
Instructions
Add a comment to an artifact.
Use product_get_artifact with include=["comments"] to read existing comments.
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": {
"artifact_type": "<artifact_type>",
"artifact_id": "<artifact_id>",
"text": "<text>"
},
"name": "create_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| product_id | No | ||
| artifact_id | Yes | ||
| artifact_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |