UpdateBuzzSnippetDraftInput Input Object
Fields
#
allowedTools
code
JavaScript code only. Must export default async function run({ input, buzz }). Preserve declared allowedTools/externalConnections unless intentionally changing them.
description
expectedDraft
The draft revision this edit was made from: the versionId, modifiedAt and draftRevision of the latest version as you last read it (getBuzzSnippetVersion). When set, the update is rejected with "This draft changed after you opened it" if that version is no longer the latest Draft or was saved again since, so you never overwrite edits you have not seen; re-read the version and reapply your change. It never starts a new draft.
externalConnections
flowGraph
LLM-authored high-level workflow graph generated from the snippet code. Keep nodes compact, include branches for conditionals, and keep source code out of labels and summaries (codeAnchor is the only verbatim code).
inputSchema
JSON Schema for the required input object. Required whenever code is created or changed.
isWorkspaceVisible
Allow workspace members to view and run the published snippet using their own permissions. Only the owner and collaborators may change this setting.
name
outputSchema
JSON Schema for the value returned by the snippet. Required whenever code is created or changed.
sharedWith
sourceVersionId
_id of the stored version this draft's content was seeded from (Fork and similar seed paths). Scopes the code/manifest grandfather baseline to that exact version instead of the latest version, so pre-existing violations inherited from the source are not rejected as newly introduced. Must belong to this snippet.
Usages
#
References
#
- Argument input of field updateBuzzSnippetDraft from type Mutation
UpdateBuzzCommandInput