Add Note to Issue
add_noteAdd a comment to an existing MantisBT issue, set it public or private, and get the created note with a direct view URL.
Instructions
Add a note (comment) to an existing MantisBT issue. Returns the created note object including id, created_at, reporter, text, view_state, and a view_url linking directly to the note in the MantisBT web UI.
Full UTF-8 text is supported. Markdown syntax is stored as-is — rendering depends on the MantisBT instance's configured text renderer.
Use view_state="private" to restrict the note to users with reporter-level access or higher; public notes are visible to all users who can view the issue.
Prerequisites: obtain issue_id from list_issues, get_issue, or search_issues.
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>",
"text": "<text>"
},
"name": "add_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Note text (minimum 1 character). Full UTF-8 including emoji is supported. Markdown is stored as-is. | |
| issue_id | Yes | Numeric issue ID — use list_issues or get_issue to obtain issue IDs | |
| view_state | No | Visibility of the note: "public" (visible to all, default) or "private" (visible only to users with sufficient access level). | public |