ServiceNow Add Comment
servicenow_add_commentAdd a comment or work note to a ServiceNow incident. Comments are visible to the caller; work notes are internal only. Called without confirm it returns a preview and sends nothing; pass confirm=true to add it.
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": {
"sys_id": "<sys_id>",
"text": "<text>"
},
"name": "servicenow_add_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Comment or work note text | |
| type | No | 'comment' (visible to caller, default) or 'work_note' (internal only) | |
| sys_id | Yes | Incident sys_id from servicenow_get_incident | |
| confirm | No | Must be true to send; without it nothing is sent and the call returns a preview of every field. | |
| remember | No | With confirm: true, also stop asking for this kind of action from now on. Only when the person said so ("don't ask again"). The person can revoke it in LMCP or with set_always_allowed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | comment | work_note | |
| added | Yes | ||
| sys_id | Yes | ||
| message | No |