Skip to content

Commit 4669f41

Browse files
committed
docs(skills): teach the MCP confirmation gate on run_action/resume_run and the delete_records tool
objectstack-ai's MCP tools table taught `confirm: true` for delete_record only. The actions row now names resume_run and says an action flagged ai.requiresConfirmation is refused with 428 unless the call sends confirm: true; a new row lists delete_records (one object, where or recordIds, at most 200 per call, the unconfirmed call is the preview, data:read and data:write over OAuth). Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J8VVAkL29APmM7okwgntB6
1 parent 24bc259 commit 4669f41

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'@objectstack/skills': patch
3+
---
4+
5+
docs(skills): objectstack-ai's MCP tools table teaches `run_action` / `resume_run`'s confirmation gate and the `delete_records` tool
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
The table taught the `confirm: true` gate for `delete_record` only. It now says that an action flagged `ai.requiresConfirmation` is refused by `run_action` and `resume_run` with `428 ACTION_CONFIRMATION_REQUIRED` unless the call sends `confirm: true`, and lists `delete_records`: up to 200 records of one object per call, by `where` or `recordIds`, whose unconfirmed call is the preview and deletes nothing, and which needs `data:read` and `data:write` over OAuth.

‎skills/objectstack-ai/SKILL.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,8 @@ permissions and row-level security:
200200
| `aggregate_records` | GROUP BY totals; registered only when the data bridge implements `aggregate` |
201201
| `validate_expression` | build-accurate CEL check before a formula is authored into metadata |
202202
| `create_record`, `update_record`, `delete_record` | writes; `delete_record` is refused with `ACTION_CONFIRMATION_REQUIRED` (428) unless it sends `confirm: true` — ask the human first, then retry |
203-
| `list_actions`, `run_action` | your AI-exposed business Actions — the same `ai.exposed` opt-in as above |
203+
| `delete_records` | up to 200 records of one object per call (fewer on a smaller read page size), by `where` or `recordIds`, not both; a call without `confirm: true` is the preview (match count, sample ids) and deletes nothing; over OAuth it needs `data:read` and `data:write` |
204+
| `list_actions`, `run_action`, `resume_run` | your AI-exposed business Actions — the same `ai.exposed` opt-in as above; an action flagged `ai.requiresConfirmation` (`list_actions` reports it) is refused with the same 428 unless the call sends `confirm: true`, and nothing runs; `resume_run` submits a paused screen flow's form under the same gates |
204205

205206
---
206207

0 commit comments

Comments
 (0)