Docs / Developer / Generated guest SDK

Generated guest SDK

Generated from the operation catalog. Each convenience method calls the same bunzai.call bridge and is subject to the same authorization.

Host invocation context

bunzai.context.invocation.resources is a read-only array of at most 16 host-selected {kind,id} refs. The host supplies it separately from command input; it does not grant access. Each operation still requires an exact matching grant. Desktop and Browser command menus attach staged or active pieces. Terminal has no current-piece selector; use explicit operation resource selectors where supported.

SDK method Operation Contract
apiDescribe api.describe schema
apiSearch api.search schema
assetsAttachApply assets.attach.apply schema
assetsAttachPreview assets.attach.preview schema
assetsImportApply assets.import.apply schema
assetsImportPreview assets.import.preview schema
assetsList assets.list schema
assetsRead assets.read schema
clipboardRead clipboard.read schema
clipboardWrite clipboard.write schema
collectionsCreate collections.create schema
collectionsList collections.list schema
collectionsMembershipApply collections.membership.apply schema
collectionsMembershipPreview collections.membership.preview schema
collectionsRead collections.read schema
commandsRegister commands.register schema
composerDraftSet composer.draft.set schema
contentCreatePreview content.create.preview schema
contentDraftApply content.draft.apply schema
contentDraftCharacterGreetingsUpdate content.draft.character.greetings.update schema
contentDraftCharacterIdentityUpdate content.draft.character.identity.update schema
contentDraftCharacterMediaUpdate content.draft.character.media.update schema
contentDraftCharacterMetadataUpdate content.draft.character.metadata.update schema
contentDraftCharacterPromptsUpdate content.draft.character.prompts.update schema
contentDraftCharacterVariantsManage content.draft.character.variants.manage schema
contentDraftDiscard content.draft.discard schema
contentDraftInspect content.draft.inspect schema
contentDraftLorebookEntriesEnable content.draft.lorebook.entries.enable schema
contentDraftLorebookEntriesRemove content.draft.lorebook.entries.remove schema
contentDraftLorebookEntriesReorder content.draft.lorebook.entries.reorder schema
contentDraftLorebookEntriesUpdate content.draft.lorebook.entries.update schema
contentDraftLorebookSettingsUpdate content.draft.lorebook.settings.update schema
contentDraftPackGroupsManage content.draft.pack.groups.manage schema
contentDraftPackItemsManage content.draft.pack.items.manage schema
contentDraftPersonaIdentityUpdate content.draft.persona.identity.update schema
contentDraftPersonaProfileUpdate content.draft.persona.profile.update schema
contentDraftPresetBlocksManage content.draft.preset.blocks.manage schema
contentDraftPresetGroupsManage content.draft.preset.groups.manage schema
contentDraftPresetSettingsUpdate content.draft.preset.settings.update schema
contentDraftPromptbookPhasePresetUpdate content.draft.promptbook.phase-preset.update schema
contentDraftPromptformatTemplatesUpdate content.draft.promptformat.templates.update schema
contentDraftRegexRulesManage content.draft.regex.rules.manage schema
contentDraftScriptsheetInstructionUpdate content.draft.scriptsheet.instruction.update schema
contentDraftSkillInstructionUpdate content.draft.skill.instruction.update schema
contentDraftToolDefinitionUpdate content.draft.tool.definition.update schema
contentDuplicatePreview content.duplicate.preview schema
contentFieldsRead content.fields.read schema
contentHistoryList content.history.list schema
contentHistoryRead content.history.read schema
contentKinds content.kinds schema
contentLinksRead content.links.read schema
contentList content.list schema
contentRead content.read schema
contentRestore content.restore schema
contentSearch content.search schema
contentSummary content.summary schema
contentTokensEstimate content.tokens.estimate schema
contentTrash content.trash schema
contentValidate content.validate schema
diagnosticsRuntime diagnostics.runtime schema
eventsSubscribe events.subscribe schema
eventsUnsubscribe events.unsubscribe schema
exportPreview export.preview schema
exportWrite export.write schema
filesPick files.pick schema
filesRead files.read schema
filesWriteApply files.write.apply schema
filesWritePreview files.write.preview schema
formatsDescribe formats.describe schema
formatsList formats.list schema
hostFeatures host.features schema
importApply import.apply schema
importPreview import.preview schema
linksOpen links.open schema
logsReadOwn logs.readOwn schema
logsWrite logs.write schema
macrosDescribe macros.describe schema
macrosPreview macros.preview schema
messagesDelete messages.delete schema
messagesEditApply messages.edit.apply schema
messagesEditPreview messages.edit.preview schema
messagesList messages.list schema
messagesRead messages.read schema
messagesSend messages.send schema
messagesVersionsList messages.versions.list schema
modelsCancel models.cancel schema
modelsDescribe models.describe schema
modelsGenerate models.generate schema
modelsList models.list schema
modelsUsage models.usage schema
networkRequest network.request schema
operationsReceiptsList operations.receipts.list schema
operationsStatus operations.status schema
permissionsStatus permissions.status schema
playbackPause playback.pause schema
playbackPlay playback.play schema
playbackStatus playback.status schema
playbackStop playback.stop schema
promptsContribute prompts.contribute schema
promptsInspect prompts.inspect schema
promptsTransform prompts.transform schema
regexPreview regex.preview schema
scenesCreate scenes.create schema
scenesList scenes.list schema
scenesRead scenes.read schema
scenesSettingsApply scenes.settings.apply schema
scenesSettingsPreview scenes.settings.preview schema
scenesSummary scenes.summary schema
settingsRead settings.read schema
settingsUpdate settings.update schema
stateRead state.read schema
stateSlotsDescribe state.slots.describe schema
stateWriteApply state.write.apply schema
stateWritePreview state.write.preview schema
storageDelete storage.delete schema
storageGet storage.get schema
storageList storage.list schema
storageSet storage.set schema
takesFork takes.fork schema
takesList takes.list schema
takesRead takes.read schema
toolsDescribe tools.describe schema
toolsInvoke tools.invoke schema
toolsList tools.list schema
transferPreview transfer.preview schema
turnsCancel turns.cancel schema
turnsContinue turns.continue schema
turnsRegenerate turns.regenerate schema
turnsStart turns.start schema
turnsStatus turns.status schema
uiDialogRequest ui.dialog.request schema
uiEditorOpen ui.editor.open schema
uiNoticeShow ui.notice.show schema
uiPanelRemove ui.panel.remove schema
uiPanelSet ui.panel.set schema
uiSceneOpen ui.scene.open schema
uiStatusSet ui.status.set schema