Magidoc

CreateBuzzSnippetInput
Input Object

Fields

#

allowedTools

code

Non-null

JavaScript only. Must export default async function run({ input, buzz }). Use buzz.tool, buzz.http, buzz.mcp, buzz.ai(prompt, { instructions, maxOutputTokens }) for quick LLM-generated text, buzz.memory, buzz.files.get(fileId), and buzz.libs (xlsx, papaparse, exceljs, lodash when the E2B template is deployed).

description

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

Non-null

Top-level JSON Schema for the required input object. Required separately from code. If the snippet needs real Hive IDs, include explicit string fields such as parentActionId or actionIds.

name

Non-null

outputSchema

Non-null

Top-level JSON Schema for the value returned by the snippet. Required separately from code.

sharedWith

[ID !]

User IDs to share with (required when sharingType = 'custom').

sharingType

Who can use and edit this snippet. Supports 'me' and 'custom'; defaults to 'me'.

workspaceId

ID !
Non-null

Usages

#

References

#

  • Argument input of field createBuzzSnippet from type Mutation