Skip to content

Commit 0e46c36

Browse files
committed
docs(skills): describe the placeholder overlay for arrays and requested file names
1 parent 02de1d0 commit 0e46c36

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

‎.agents/skills/add-tools/SKILL.md‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -235,11 +235,13 @@ search that returns no email or phone, and an email verifier.
235235
masked (a URL that is wholly a secret); then check the tool label alone and compare the request
236236
fields only on entries that carry one.
237237
- A dry run answers a `write` with a sample of its `outputs`. When downstream blocks read output the
238-
request alone determines (a table write's `row.data`, a created file's `name`), declare a pure
239-
`dryRunOutput(params)` returning just those fields; it gets params with secrets masked. It is laid
240-
over the sample by the declared schema: field by field where an output declares `properties`,
241-
whole anywhere else, so return an undeclared shape (a `json` row) complete, with placeholders for
242-
what the request cannot know. Never guess at what the provider would add.
238+
request alone determines (a table write's `row.data`, a file write's requested name), declare a
239+
pure `dryRunOutput(params)` returning just those fields; it gets params with secrets masked. It is
240+
laid over the sample by the declared schema: field by field where an output declares `properties`,
241+
item by item where an array declares `items` (undeclared fields are dropped), and whole anywhere
242+
else, so return an undeclared shape (a `json` row) complete, with placeholders for what the request
243+
cannot know. Never guess at what the provider or stored state would add (a collision suffix on a
244+
file name, an id).
243245

244246
## Critical Rules for Parameters
245247

0 commit comments

Comments
 (0)