Commit b7808ec
committed
warn that issue_write body REPLACES content, not appends
The `body` parameter on `issue_write` (method='update') replaces the
entire issue body, matching REST API semantics. However, LLM agents
frequently misinterpret `body` as "add a note about this issue" and
end up silently destroying the original issue description (#2410).
Update the parameter description to make the replace-not-append
semantics explicit and to point users at `add_issue_comment` for the
common "leave a note" use case.
Updates the issue_write toolsnap and README accordingly.
Fixes #2410.1 parent 1add5fe commit b7808ec
3 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
853 | 853 | | |
854 | 854 | | |
855 | 855 | | |
856 | | - | |
| 856 | + | |
857 | 857 | | |
858 | 858 | | |
859 | 859 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1471 | 1471 | | |
1472 | 1472 | | |
1473 | 1473 | | |
1474 | | - | |
| 1474 | + | |
1475 | 1475 | | |
1476 | 1476 | | |
1477 | 1477 | | |
| |||
0 commit comments