Commit 36738d2
feat(mcp): add openWorldHint to all tool annotations
ChatGPT Apps submission requires all three hints (readOnlyHint,
destructiveHint, openWorldHint) set explicitly; we only had the first two.
openWorldHint mirrors read_only: write tools act on external social platforms
(publish/send/manage) so they touch the open world; GET tools only read and
don't change external state. Set in the generator (294 tools) and the
@tool_def decorator (20 custom tools); regenerated. Verified 0/314 missing.
Also gitignore the chatgpt-app-submission.json artifact (generated for the
submission form, not source).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 26623ff commit 36738d2
4 files changed
Lines changed: 306 additions & 297 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
426 | | - | |
427 | | - | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
428 | 432 | | |
429 | 433 | | |
430 | | - | |
| 434 | + | |
| 435 | + | |
431 | 436 | | |
432 | 437 | | |
433 | 438 | | |
| |||
0 commit comments