WAKATODOCS

Assets

Space MCP tools in the Assets scope (assets). Reach these with a wks_live_ key over space-mcp or space-api.

Tools in the assets scope, callable over space-mcp (tools/call) or space-api (REST) with a wks_live_* key that grants assets.

add_asset_from_url

Scope: assets:write

Add a file/image/video/audio to this space's asset library by downloading it from a public http/https URL. Ideal for saving a generate_image / generate_media result into the library. Returns the re-hosted URL and asset id.

ParameterTypeRequiredDescription
filenamestringyesFile name to store it under, including extension.
source_urlstringyesPublic http/https URL to import the file from.
mime_typestringMIME type override. Auto-detected from the response/extension if omitted.
titlestringDisplay title. Defaults to the filename.
descriptionstring

create_character

Scope: assets:write

Create a reusable character asset (identity image + persona).

ParameterTypeRequiredDescription
namestringyes
descriptionstring
identity_image_urlstring
reference_image_urlsstring[]
genderstring
archetypestring
voice_asset_idstring
tagsstring[]
sheetobject
metadataobject

list_characters

Scope: assets:read

List reusable character assets (identity image + persona sheet) in this space.

list_document_assets

Scope: assets:read

List document/image assets available to this space (file_url, file_type, tags).

list_voice_assets

Scope: assets:read

List voice assets available to this space.

update_character

Scope: assets:write

Update a character asset by id.

ParameterTypeRequiredDescription
character_idstringyes
namestring
descriptionstring
identity_image_urlstring
reference_image_urlsstring[]
genderstring
archetypestring
voice_asset_idstring
tagsstring[]
statusstring
is_favoriteboolean
sheetobject
metadataobject

upload_asset

Scope: assets:write

Upload a file, image, video, or audio into this space's asset library from inline base64. Returns the hosted URL and asset id. Use add_asset_from_url instead when you already have a URL (e.g. a generate_image result).

ParameterTypeRequiredDescription
filenamestringyesFile name including extension, e.g. 'logo.png'.
data_base64stringyesBase64-encoded file bytes (a data: URI prefix is also accepted).
mime_typestringMIME type, e.g. 'image/png'. Auto-detected from the extension if omitted.
titlestringDisplay title. Defaults to the filename.
descriptionstring

On this page