Files#

See how an AI assistant can help with files in Brandwave, including example prompts and the details it may ask for.

Using your AI assistant

Connect to the Brandwave MCP server, then ask your AI assistant in natural language. It will choose the right Brandwave task and ask for any details it needs.

List files#

List the files attached to one campaign, activity, or creator, including who added each file and whether a person uploaded it or an AI assistant wrote it.

Tool name: list_files. Protocol hints: readOnlyHint=true, destructiveHint=false, idempotentHint=true, openWorldHint=false.

Example prompt#

text
List all files in my organization.

Details to provide#

NameTypeRequiredDescription
ownerType'campaign' | 'activity' | 'creator'RequiredWhich kind of record this file belongs to: campaign, activity, or creator.
ownerIdstring (UUID)RequiredIdentifier of the campaign, activity, or creator.
organizationIdstring (UUID)Organization identifier.

What you'll get back#

Returns { items, totalCount, facets, _meta } with paginated results.

Create file#

Create a text, markdown, or CSV file on a campaign, activity, or creator by supplying its content directly. Use this to save a written report, summary, plan, or notes.

Tool name: create_file. Protocol hints: readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=false.

Example prompt#

text
Create a new file.

Details to provide#

NameTypeRequiredDescription
ownerType'campaign' | 'activity' | 'creator'RequiredWhich kind of record this file belongs to: campaign, activity, or creator.
ownerIdstring (UUID)RequiredIdentifier of the campaign, activity, or creator.
organizationIdstring (UUID)Organization identifier.
fileNamestringRequiredFile name including its extension, for example "wrap-report.md".
contentType'text/markdown' | 'text/plain' | 'text/csv'RequiredMedia type of the supplied content.
contentstringRequiredThe complete text content to store.
descriptionstring | nullShort note about what this file contains and why it was attached.

What you'll get back#

Returns { data, _meta } with the result.

Get file download#

Get a short-lived authorized URL for reading one private file, so it can be opened or fetched and analysed.

Tool name: get_file_download. Protocol hints: readOnlyHint=true, destructiveHint=false, idempotentHint=true, openWorldHint=false.

Example prompt#

text
Show me the details for this file download.

Details to provide#

NameTypeRequiredDescription
idstring (UUID)RequiredUnique identifier (UUID v4).

What you'll get back#

Returns { data, _meta } with the result.

Rename file#

Update the name of a file attached to a campaign, activity, or creator so it says what the document actually is.

Tool name: update_file. Protocol hints: readOnlyHint=false, destructiveHint=true, idempotentHint=true, openWorldHint=false.

Example prompt#

text
Update the rename file.

Details to provide#

NameTypeRequiredDescription
idstring (UUID)RequiredUnique identifier (UUID v4).
fileNamestringRequiredA clearer name for this file, including its extension.

What you'll get back#

Returns { data, _meta } with the result.

Delete file#

Remove a file from the campaign, activity, or creator it is attached to.

Tool name: delete_file. Protocol hints: readOnlyHint=false, destructiveHint=true, idempotentHint=true, openWorldHint=false.

Example prompt#

text
Delete this file.

Details to provide#

NameTypeRequiredDescription
idstring (UUID)RequiredUnique identifier (UUID v4).

What you'll get back#

Returns { data, _meta } with the result.