Pular para o conteúdo
Páginas: Referência das ferramentas
Agentes e MCP

Referência das ferramentas

Todas as ferramentas do servidor MCP da FalaTu, com parâmetros e o que cada uma muda. Gerada a partir do código.

Essa é a lista completa do que um agente consegue pedir pra falatu. Ela é gerada a partir do próprio servidor, então está sempre igual ao que ele faz. Os nomes e as descrições dos parâmetros ficam em inglês, do jeito que o agente lê.

Uma conta pode ter várias marcas, e cada conexão só vê as marcas liberadas pra ela (na tela Permitir acesso ou no token). As ferramentas de marca aceitam brand_id (e account_id): quando a conexão vê mais de uma marca, o agente precisa dizer qual, e a FalaTu responde brand_required com as opções em vez de escolher sozinha. Pra criar algo numa marca com mais de uma rede, ele passa platform (ou channel_id); sem isso a resposta é channel_required. list_brands e list_channels mostram as opções.

Ferramentas de leitura

Só olham. Funcionam com qualquer conexão, inclusive de quem é Atendimento e tokens “Só ver”.

get_account

A conta: nome, plano, idioma, seu papel, as marcas que a conexão vê e se o envio está ligado.

The FalaTu account this connection acts on: name, plan, language, your role and whether you can change things, the brands this connection may see (each with its connected accounts, their status and sending switches) and the account defaults. Read-only. Call this first. Account-wide: plan, credits and limits are shared by all its brands.

Parâmetros:

NomeTipoDescrição
account_idstringopcionalThe falatu account (account_id from list_brands). Only needed when this connection reaches several accounts and you don't pass brand_id.

list_brands

As marcas que a conexão pode ver, com os canais de cada uma.

The brands this connection may see, grouped by account: brand_id, name, whether it's the account's main brand, its state (active, archived or restricted = read-only), its connected networks and whether you can change things there. Only the brands the person allowed for this app or token, and still sees. Pass brand_id to every other tool when there is more than one. Read-only.

Parâmetros:

NomeTipoDescrição
account_idstringopcionalThe falatu account (account_id from list_brands). Only needed when this connection reaches several accounts and you don't pass brand_id.

list_channels

Os canais (Instagram, Facebook) das marcas, com status e o que dá pra fazer em cada rede.

The connected accounts (Instagram, Facebook Pages) of the brands this connection may see: channel_id, brand_id, network, handle, status (connected or disconnected), sending switches and what falatu can do on that network today. Pass brand_id for one brand. Read-only.

Parâmetros:

NomeTipoDescrição
account_idstringopcionalThe falatu account (account_id from list_brands). Only needed when this connection reaches several accounts and you don't pass brand_id.
brand_idstringopcionalOnly this brand's channels (brand_id from list_brands).

list_posts

Os posts recentes, com a palavra-chave detectada, a automação ligada e os comentários.

Recent Instagram posts and reels, newest first: caption, the keyword FalaTu detected in it ("Comenta X"), the link it found, the automation listening on it (id, status, link) and the comment count. Read-only. Use filter "suggested" for posts with a keyword and no automation yet.

Parâmetros:

NomeTipoDescrição
account_idstringopcionalThe falatu account (account_id from list_brands). Only needed when this connection reaches several accounts and you don't pass brand_id.
brand_idstringopcionalThe brand to act on (brand_id from list_brands). Needed when this connection can see more than one brand: falatu never picks one for you (the answer is brand_required with the choices).
platform"instagram" | "facebook"opcionalOnly this network of the brand: "instagram" | "facebook". Default: all of the brand's networks.
channel_idstringopcionalOnly this channel of the brand (channel_id from list_channels).
filter"all" | "suggested" | "automated" | "none"opcionalall | suggested (keyword found, no automation) | automated | none (padrão: "all")
limitinteger 1–50opcional(padrão: 12)

list_automations

Todas as automações, com status, palavras-chave, link e post.

Every automation: id, name, status (draft, shadow = decides but never sends, active = sends, paused, ended), trigger_mode (any = every commenter gets the DM, keyword = only who writes a keyword), keywords, link and the post it listens on. Read-only.

Parâmetros:

NomeTipoDescrição
account_idstringopcionalThe falatu account (account_id from list_brands). Only needed when this connection reaches several accounts and you don't pass brand_id.
brand_idstringopcionalThe brand to act on (brand_id from list_brands). Needed when this connection can see more than one brand: falatu never picks one for you (the answer is brand_required with the choices).
platform"instagram" | "facebook"opcionalOnly this network of the brand: "instagram" | "facebook". Default: all of the brand's networks.
channel_idstringopcionalOnly this channel of the brand (channel_id from list_channels).
status"draft" | "shadow" | "active" | "paused" | "ended"opcionalOnly automations with this status.

get_automation

Uma automação completa: textos, link, pedir pra seguir, respostas e Votação.

One automation in full: trigger_mode (any = every commenter gets the DM, keyword = only who writes a keyword), keywords and variants, the DM text, button label and link, the follow gate, public replies, Votação (comment poll), dates and status. Blank texts mean the account default is used. Read-only.

Parâmetros:

NomeTipoDescrição
account_idstringopcionalThe falatu account (account_id from list_brands). Only needed when this connection reaches several accounts and you don't pass brand_id.
brand_idstringopcionalThe brand to act on (brand_id from list_brands). Needed when this connection can see more than one brand: falatu never picks one for you (the answer is brand_required with the choices).
automation_ididobrigatórioThe automation id (from a list_* tool).

list_reply_templates

Os modelos de mensagens, os tons, os campos como {item} e as regras de escrita.

The Modelos (ready sets of DM texts and public replies: guide, prompts, coupon, product link, class/event, price, VIP list), the four tones, every placeholder with what it says, and the house rules for writing texts. Read this before writing texts for create_automation / update_automation, so they sound like the account: item names the thing in the DMs, public replies stay 2–6 words. Read-only.

Parâmetros:

NomeTipoDescrição
account_idstringopcionalThe falatu account (account_id from list_brands). Only needed when this connection reaches several accounts and you don't pass brand_id.
brand_idstringopcionalThe brand to act on (brand_id from list_brands). Needed when this connection can see more than one brand: falatu never picks one for you (the answer is brand_required with the choices).
language"pt" | "en" | "es"opcionalTexts in this language; default the account's message language.

preview_automation_messages

Mostra a conversa como a pessoa vê (comentário, resposta, DM, link), todas as respostas e os avisos. Não salva nada.

Shows what a person would see, rendered with FalaTu's real engine for a sample person (Larissa, @larissa_epaiva): their comment, the public reply, the DM with its button, the follow step when the gate is on, and the link; every public-reply variant; and warnings (a DM text that never says what the person gets, ALL CAPS). Pass automation_id for a saved automation, or config for an unsaved one (config fields override the saved ones when both are given). Read-only: no automation configuration is saved and no Instagram message is sent. May fetch the destination URL to derive page metadata.

Parâmetros:

NomeTipoDescrição
account_idstringopcionalThe falatu account (account_id from list_brands). Only needed when this connection reaches several accounts and you don't pass brand_id.
brand_idstringopcionalThe brand to act on (brand_id from list_brands). Needed when this connection can see more than one brand: falatu never picks one for you (the answer is brand_required with the choices).
automation_ididopcionalThe automation id (from a list_* tool).
configobjectopcionalAn unsaved automation (same fields as create_automation).

get_stats

Números por automação (padrão: 7 dias): comentários, pedidos, links entregues, seguidores novos, falhas.

Numbers per automation for the last N days (default 7): comments received on its post, follow asks sent, links delivered, new followers after an ask, failed sends and items that needed a person. Only live (active) sends count; shadow automations report what they would have done. Read-only.

Parâmetros:

NomeTipoDescrição
account_idstringopcionalThe falatu account (account_id from list_brands). Only needed when this connection reaches several accounts and you don't pass brand_id.
brand_idstringopcionalThe brand to act on (brand_id from list_brands). Needed when this connection can see more than one brand: falatu never picks one for you (the answer is brand_required with the choices).
platform"instagram" | "facebook"opcionalOnly this network of the brand: "instagram" | "facebook". Default: all of the brand's networks.
channel_idstringopcionalOnly this channel of the brand (channel_id from list_channels).
automation_ididopcionalOne automation; omit for every automation that isn't a draft.
daysinteger 1–90opcional(padrão: 7)

list_needs_you

A lista do Precisa de você: perguntas, reclamações e posts esperando link.

The "Precisa de você" (needs you) list: comments and DMs the robot did not answer because a person should (a question, a complaint, a help request, a long text), plus posts set up automatically that still wait for a link. Each item has an id for suggest_reply and mark_needs_you_done, the reason, whether the 24h DM window is open, and an app link where a person can read and answer. Follower identifiers, profile counts and message text are omitted. Read-only.

Parâmetros:

NomeTipoDescrição
account_idstringopcionalThe falatu account (account_id from list_brands). Only needed when this connection reaches several accounts and you don't pass brand_id.
brand_idstringopcionalThe brand to act on (brand_id from list_brands). Needed when this connection can see more than one brand: falatu never picks one for you (the answer is brand_required with the choices).
platform"instagram" | "facebook"opcionalOnly this network of the brand: "instagram" | "facebook". Default: all of the brand's networks.
channel_idstringopcionalOnly this channel of the brand (channel_id from list_channels).
post_ididopcionalOnly items on this post.
limitinteger 1–100opcional(padrão: 30)

get_poll_results

O ranking da Votação de uma automação.

The Votação (comment poll) ranking of an automation: each answer (grouped without accents or case) with its vote count and share, plus how many people voted. One vote per person, the latest wins. Read-only.

Parâmetros:

NomeTipoDescrição
account_idstringopcionalThe falatu account (account_id from list_brands). Only needed when this connection reaches several accounts and you don't pass brand_id.
brand_idstringopcionalThe brand to act on (brand_id from list_brands). Needed when this connection can see more than one brand: falatu never picks one for you (the answer is brand_required with the choices).
automation_ididobrigatórioThe automation id (from a list_* tool).
limitinteger 1–100opcional(padrão: 20)

list_activity

O que aconteceu num post ou automação: o que a FalaTu decidiu e se mandou, sem identificar seguidores nem mostrar suas mensagens.

What happened recently on a post or automation (or the whole account): the type and time of each interaction, what FalaTu decided (reply, ask to follow, deliver the link, needs a person, ignore) and the rule code explaining it, and whether it was really sent ("sent") or only decided in shadow mode. Follower identifiers and message text are omitted; open FalaTu to inspect conversations. Read-only.

Parâmetros:

NomeTipoDescrição
account_idstringopcionalThe falatu account (account_id from list_brands). Only needed when this connection reaches several accounts and you don't pass brand_id.
brand_idstringopcionalThe brand to act on (brand_id from list_brands). Needed when this connection can see more than one brand: falatu never picks one for you (the answer is brand_required with the choices).
platform"instagram" | "facebook"opcionalOnly this network of the brand: "instagram" | "facebook". Default: all of the brand's networks.
channel_idstringopcionalOnly this channel of the brand (channel_id from list_channels).
post_ididopcionalThe post id (from a list_* tool).
automation_ididopcionalThe automation id (from a list_* tool).
daysinteger 1–30opcional(padrão: 7)
limitinteger 1–100opcional(padrão: 30)

search_docs

Busca na central de ajuda.

Searches the FalaTu help center (docs.falatu.ai) and returns the best pages with a short excerpt and their URL. Use it to answer how-to questions about falatu. Read-only.

Parâmetros:

NomeTipoDescrição
querystringobrigatório
language"pt" | "en" | "es"opcionalDefaults to the account language.
limitinteger 1–10opcional(padrão: 5)

list_scheduled_posts

A Agenda: posts agendados e rascunhos, com horário, palavra, automação e status.

The Agenda: scheduled posts and drafts from N days ago on (default 7), soonest first, with status (draft, scheduled, publishing, reminded = time to post by hand, published, failed), the time in UTC and in the account's time zone, the keyword, the automation, the mode it will get (auto = FalaTu publishes; reminder = the owner posts), the permalink once published and the last error. destinations: the same post's Facebook and YouTube jobs (status, link once out, last error), null when it doesn't go there. without_instagram: posts scheduled with instagram: false (only Facebook and/or YouTube; left out when status is given). Read-only.

Parâmetros:

NomeTipoDescrição
account_idstringopcionalThe falatu account (account_id from list_brands). Only needed when this connection reaches several accounts and you don't pass brand_id.
brand_idstringopcionalThe brand to act on (brand_id from list_brands). Needed when this connection can see more than one brand: falatu never picks one for you (the answer is brand_required with the choices).
platform"instagram" | "facebook"opcionalOnly this network of the brand: "instagram" | "facebook". Default: all of the brand's networks.
channel_idstringopcionalOnly this channel of the brand (channel_id from list_channels).
past_daysinteger 0–90opcionalAlso show posts from this many days ago. (padrão: 7)
status"draft" | "scheduled" | "publishing" | "reminded" | "published" | "failed"opcional
limitinteger 1–100opcional(padrão: 30)

get_scheduled_post

Um post agendado completo: legenda, arquivos, horário, status e automação.

One scheduled post in full: caption, files (size, width, height, duration), time, status, mode, keyword, the automation and its link, the permalink once published and the last error. destinations: its Facebook and YouTube jobs (status, time, link once out: facebook.url, youtube.url; YouTube's actual privacy; last error), null when it doesn't go there. A post scheduled with instagram: false answers with instagram: null and its destinations. Read-only.

Parâmetros:

NomeTipoDescrição
account_idstringopcionalThe falatu account (account_id from list_brands). Only needed when this connection reaches several accounts and you don't pass brand_id.
brand_idstringopcionalThe brand to act on (brand_id from list_brands). Needed when this connection can see more than one brand: falatu never picks one for you (the answer is brand_required with the choices).
scheduled_post_ididobrigatórioThe scheduled post id (from create_upload or list_scheduled_posts).

get_best_times

Seus melhores horários pra postar, pelos comentários nas 2 primeiras horas.

When this account's posts get the most comments in their first 2 hours (posts of the last 90 days): up to 3 slots, weekday + hour in the account's time zone, best first, with the average comments, how many posts it's based on and the next time each slot comes round (use it for scheduled_at). Empty when there are fewer than 5 posts with comments. Read-only.

Parâmetros:

NomeTipoDescrição
account_idstringopcionalThe falatu account (account_id from list_brands). Only needed when this connection reaches several accounts and you don't pass brand_id.
brand_idstringopcionalThe brand to act on (brand_id from list_brands). Needed when this connection can see more than one brand: falatu never picks one for you (the answer is brand_required with the choices).
platform"instagram" | "facebook"opcionalOnly this network of the brand: "instagram" | "facebook". Default: all of the brand's networks.
channel_idstringopcionalOnly this channel of the brand (channel_id from list_channels).
time_zonestringopcionalIANA time zone, e.g. "America/Sao_Paulo". Default: the account's.

list_youtube_shorts

Mostra os Shorts preparados, o status, os links e os erros de envio.

Lists this brand's latest source-confirmed Short preparations and delivery results: waiting, scheduled, uploading, published, failed, cancelled or needs_review, source and destination links, requested and actual privacy. No tokens or original file URLs. Read-only. needs_review must be checked on the destination channel before any new preparation.

Parâmetros:

NomeTipoDescrição
account_idstringopcionalThe falatu account (account_id from list_brands). Only needed when this connection reaches several accounts and you don't pass brand_id.
brand_idstringopcionalThe brand to act on (brand_id from list_brands). Needed when this connection can see more than one brand: falatu never picks one for you (the answer is brand_required with the choices).

Ferramentas que mudam algo

Precisam de uma conexão com permissão pra mudar e de um papel de dono ou admin. Cada uma fica registrada em Ver o que fez, ao lado do app ou do token em Configurações → Agentes e API.

create_automation

Cria uma automação num post (em modo sombra: não manda nada até alguém ativar).

Creates an automation on a post: when someone comments on it (anything, with trigger_mode "any", the default; only one of the keywords with "keyword"), FalaTu replies under the comment and sends the link by DM. It is created in "shadow" (decides, never sends) unless you pass status "draft"; it never starts sending by itself: call activate_automation after the person confirms. Set item to what the post promises ("os 3 prompts pra virar vídeo de cinema"): every DM names it. Leave item out and FalaTu derives it from the caption ("te mando ___"), the linked page's title or the keyword; the answer says what it derived and from where. Blank texts use the account defaults (which name the item); template + tone apply a Modelo. Check the result with preview_automation_messages. Fails if the post already has an automation. Changes FalaTu data; nothing is sent to anyone.

Parâmetros:

NomeTipoDescrição
account_idstringopcionalThe falatu account (account_id from list_brands). Only needed when this connection reaches several accounts and you don't pass brand_id.
brand_idstringopcionalThe brand to act on (brand_id from list_brands). Needed when this connection can see more than one brand: falatu never picks one for you (the answer is brand_required with the choices).
post_ididobrigatórioThe post id (from a list_* tool).
keywordsstring[]obrigatórioThe words people comment, e.g. ["CINEMA"]. Case and accents are ignored.
linkurlopcionalThe link the DM delivers. Without it the automation can't be activated.
gate"soft" | "strict" | "off" | "default"opcionalFollow gate: "soft" (Suave: asks to follow, sends the link anyway), "strict" (Rígido: link only after they follow), "off" (link straight away), "default" (the account default). (padrão: "default")
namestringopcionalDefaults to the first keyword.
dm_textstringopcionalThe DM text; blank = the account default.
button_labelstringopcional
public_repliesstring[]opcionalPublic replies under the comment, rotated; blank = the account defaults. Write them like a person on their phone: 2–6 words, at most 35 characters, one emoji, e.g. "mandei 📩", "tá na dm 🎬", "foi {item_short} 🙌". They never explain the item (the DM does).
poll_labelstringopcionalTurns on Votação (comments also count as votes); the label names what is voted on, e.g. "nicho".
trigger_mode"any" | "keyword"opcionalDefault "any": everyone who comments gets the DM (keyword mode on a YouTube post). Pass "keyword" for only who writes a keyword.
status"shadow" | "draft"opcional(padrão: "shadow")
itemstringopcionalWhat the person gets, in the message language, with its article, written to fit "te mando ___" / "I'll send you ___" / "te mando ___": e.g. "os 3 prompts pra virar vídeo de cinema", "o cupom de 10%", "a aula gratuita", "the price list". Max 80 characters. Set it to what the post promises (read the caption with list_posts). The DMs say it ({item}); public replies stay short and never repeat it.
item_shortstringopcional1–2 words of the item for the few public replies that use {item_short}, e.g. "os prompts", "o cupom". Optional: derived from item.
topicstringopcional1–4 words about the subject, e.g. "vídeo de cinema", for {topic} in DMs. Optional.
emojistringopcionalOne emoji that fits the topic (🎬), used by {emoji} instead of the generic one. Optional.
titlestringopcionalLine 1 of the link message, after the emoji: what it is, e.g. "1 selfie vira vídeo de cinema". Optional: derived from the linked page's title, else the item.
descriptionstringopcionalLine 2 of the link message: one line on what's inside, e.g. "A receita completa: o prompt, as configurações e o passo a passo." Optional: derived from the page's description; empty = no line.
template"guide" | "prompts" | "coupon" | "product" | "class" | "price" | "waitlist"opcionalApply a Modelo (see list_reply_templates): fills the follow-gate texts and the public replies for the tone. Texts you pass in texts / public_replies win over it.
tone"direct" | "warm" | "playful" | "useful"opcionalThe Modelo's voice: "direct" (Direto), "warm" (Próximo), "playful" (Divertido), "useful" (Útil). Default "direct".
textsobjectopcionalThe DM texts (empty string = back to the default, which already names the item). Placeholders: {nome} {username} {item} {item_short} {topic} {emoji} {title} {description} {button} {account} {keyword} {url}. No questions, 1–2 emoji per line, never ALL CAPS.
followup_textstringopcionalThe follow-up DM text, when the follow-up is on (empty = default).

update_automation

Muda campos de uma automação (o resto fica igual).

Changes some fields of an automation; anything you leave out stays as it is. An active automation stays active. Pass an empty string to clear a text back to the account default. item = what the person gets ("o cupom de 10%"); item "" derives it again from the caption, the page title or the keyword (the answer says which). template + tone apply a Modelo over the texts. Check with preview_automation_messages. Overwrites supplied fields and may fetch destination page metadata. An active automation uses the changes in subsequent Instagram replies and DMs; restoring settings cannot retract messages already sent. Confirm live changes before calling.

Parâmetros:

NomeTipoDescrição
account_idstringopcionalThe falatu account (account_id from list_brands). Only needed when this connection reaches several accounts and you don't pass brand_id.
brand_idstringopcionalThe brand to act on (brand_id from list_brands). Needed when this connection can see more than one brand: falatu never picks one for you (the answer is brand_required with the choices).
automation_ididobrigatórioThe automation id (from a list_* tool).
namestringopcional
keywordsstring[]opcional
linkurl | stringopcional
gate"soft" | "strict" | "off" | "default"opcionalFollow gate: "soft" (Suave: asks to follow, sends the link anyway), "strict" (Rígido: link only after they follow), "off" (link straight away), "default" (the account default).
dm_textstringopcional
button_labelstringopcional
public_repliesstring[]opcionalReplaces the public replies; [] = back to the account defaults. Short like a person types: 2–6 words, at most 35 characters, one emoji ("mandei 📩", "tá na dm 🎬").
poll_enabledbooleanopcional
poll_labelstringopcional
trigger_mode"any" | "keyword"opcionalWho gets the DM ("Quem recebe"): "any" = everyone who comments on the post, keyword or not (Qualquer comentário; links, replies to other people, texts of 300+ characters and people who already got it are left out); "keyword" = only who comments a keyword or something close, the rest goes to Precisa de você (Só a palavra-chave).
starts_atdate-time | nullopcionalISO date-time; null = no start date.
ends_atdate-time | nullopcionalISO date-time; null = no end date.
itemstringopcionalWhat the person gets, in the message language, with its article, written to fit "te mando ___" / "I'll send you ___" / "te mando ___": e.g. "os 3 prompts pra virar vídeo de cinema", "o cupom de 10%", "a aula gratuita", "the price list". Max 80 characters. Set it to what the post promises (read the caption with list_posts). The DMs say it ({item}); public replies stay short and never repeat it.
item_shortstringopcional1–2 words of the item for the few public replies that use {item_short}, e.g. "os prompts", "o cupom". Optional: derived from item.
topicstringopcional1–4 words about the subject, e.g. "vídeo de cinema", for {topic} in DMs. Optional.
emojistringopcionalOne emoji that fits the topic (🎬), used by {emoji} instead of the generic one. Optional.
titlestringopcionalLine 1 of the link message, after the emoji: what it is, e.g. "1 selfie vira vídeo de cinema". Optional: derived from the linked page's title, else the item.
descriptionstringopcionalLine 2 of the link message: one line on what's inside, e.g. "A receita completa: o prompt, as configurações e o passo a passo." Optional: derived from the page's description; empty = no line.
template"guide" | "prompts" | "coupon" | "product" | "class" | "price" | "waitlist"opcionalApply a Modelo (see list_reply_templates): fills the follow-gate texts and the public replies for the tone. Texts you pass in texts / public_replies win over it.
tone"direct" | "warm" | "playful" | "useful"opcionalThe Modelo's voice: "direct" (Direto), "warm" (Próximo), "playful" (Divertido), "useful" (Útil). Default "direct".
textsobjectopcionalThe DM texts (empty string = back to the default, which already names the item). Placeholders: {nome} {username} {item} {item_short} {topic} {emoji} {title} {description} {button} {account} {keyword} {url}. No questions, 1–2 emoji per line, never ALL CAPS.
followup_textstringopcionalThe follow-up DM text, when the follow-up is on (empty = default).

Troca o link que a automação entrega.

Sets (or replaces) the link an automation delivers by DM. Overwrites the previous destination. On an active automation, subsequent Instagram DMs deliver the new link from the next comment on. Restoring the old link cannot retract messages already sent. Confirm live changes before calling.

Parâmetros:

NomeTipoDescrição
account_idstringopcionalThe falatu account (account_id from list_brands). Only needed when this connection reaches several accounts and you don't pass brand_id.
brand_idstringopcionalThe brand to act on (brand_id from list_brands). Needed when this connection can see more than one brand: falatu never picks one for you (the answer is brand_required with the choices).
automation_ididobrigatórioThe automation id (from a list_* tool).
linkurlobrigatório

activate_automation

Liga a automação: a partir de agora a FalaTu responde os comentários novos de verdade.

Turns an automation on: from now on FalaTu answers new comments on its post for real (public reply + DM with the link). With answer_earlier, comments that arrived before (up to 7 days old, never answered) are answered too, oldest first; it defaults to true for automations FalaTu set up by itself on a new post and false otherwise. Needs a link and an Instagram account with sending allowed. Ask the person before calling it. Changes what FalaTu sends.

Parâmetros:

NomeTipoDescrição
account_idstringopcionalThe falatu account (account_id from list_brands). Only needed when this connection reaches several accounts and you don't pass brand_id.
brand_idstringopcionalThe brand to act on (brand_id from list_brands). Needed when this connection can see more than one brand: falatu never picks one for you (the answer is brand_required with the choices).
automation_ididobrigatórioThe automation id (from a list_* tool).
answer_earlierbooleanopcionalAlso answer the comments that arrived before (under 7 days old). Tell the person how many first (get_automation shows held_comments).

pause_automation

Pausa na hora: volta pro modo sombra e para de mandar.

Pauses an active automation at once: it goes back to shadow mode (keeps deciding, sends nothing). Changes what FalaTu sends.

Parâmetros:

NomeTipoDescrição
account_idstringopcionalThe falatu account (account_id from list_brands). Only needed when this connection reaches several accounts and you don't pass brand_id.
brand_idstringopcionalThe brand to act on (brand_id from list_brands). Needed when this connection can see more than one brand: falatu never picks one for you (the answer is brand_required with the choices).
automation_ididobrigatórioThe automation id (from a list_* tool).

suggest_reply

Escreve uma sugestão de resposta pra um item do Precisa de você. Nunca envia.

Drafts a reply for a "Precisa de você" item in the owner's tone (AI). It NEVER sends: return the draft to the person and give them the app link, where they can edit it and click Send. Nothing changes in falatu.

Parâmetros:

NomeTipoDescrição
account_idstringopcionalThe falatu account (account_id from list_brands). Only needed when this connection reaches several accounts and you don't pass brand_id.
brand_idstringopcionalThe brand to act on (brand_id from list_brands). Needed when this connection can see more than one brand: falatu never picks one for you (the answer is brand_required with the choices).
item_ididobrigatórioThe item id from list_needs_you.

mark_needs_you_done

Marca um item do Precisa de você como resolvido.

Marks a "Precisa de você" item as resolved, so it leaves the list. Use it only when the person says it was handled. Changes FalaTu data; nothing is sent to anyone.

Parâmetros:

NomeTipoDescrição
account_idstringopcionalThe falatu account (account_id from list_brands). Only needed when this connection reaches several accounts and you don't pass brand_id.
brand_idstringopcionalThe brand to act on (brand_id from list_brands). Needed when this connection can see more than one brand: falatu never picks one for you (the answer is brand_required with the choices).
item_ididobrigatórioThe item id from list_needs_you.

create_upload

Passo 1 pra agendar: cria um link de envio único pro vídeo ou imagem (o agente manda o arquivo com curl).

Step 1 of scheduling a post or preparing an approved YouTube Short. Returns a one-time upload_url for one file (MP4/MOV video up to 300 MB, JPEG image up to 8 MB) and the scheduled_post_id to use for the rest. Then upload the raw file from a terminal with: curl -sS -T <file> "<upload_url>" (no other headers; the URL works once, for 1 hour; it prints JSON with the file's url). Call it again with the same scheduled_post_id for a carousel item or a Reel cover. Omit scheduled_post_id to start a new post (nothing shows in the Agenda until schedule_post). Checks the type, the size and the account's storage quota. Changes FalaTu data; nothing is posted.

Parâmetros:

NomeTipoDescrição
account_idstringopcionalThe falatu account (account_id from list_brands). Only needed when this connection reaches several accounts and you don't pass brand_id.
brand_idstringopcionalThe brand to act on (brand_id from list_brands). Needed when this connection can see more than one brand: falatu never picks one for you (the answer is brand_required with the choices).
scheduled_post_ididopcionalAdd a file to this scheduled post; omit to start a new one.
file_namestringobrigatórioThe file's name, e.g. "raiox.mp4".
content_type"image/jpeg" | "video/mp4" | "video/quicktime"obrigatóriovideo/mp4, video/quicktime (MOV) or image/jpeg.
size_bytesintegerobrigatórioThe exact file size in bytes (macOS: stat -f%z <file>; Linux: stat -c%s <file>).

add_media_from_url

Baixa um vídeo ou imagem de um link público pros arquivos do post agendado.

Another way to add a file to a scheduled post: FalaTu downloads a public https link (MP4/MOV up to 300 MB, JPEG up to 8 MB) into the post's files and returns the media (size, width, height, duration). Large videos may take longer than one call allows: then use create_upload instead. Changes FalaTu data; nothing is posted.

Parâmetros:

NomeTipoDescrição
account_idstringopcionalThe falatu account (account_id from list_brands). Only needed when this connection reaches several accounts and you don't pass brand_id.
brand_idstringopcionalThe brand to act on (brand_id from list_brands). Needed when this connection can see more than one brand: falatu never picks one for you (the answer is brand_required with the choices).
scheduled_post_ididopcionalAdd the file to this scheduled post; omit to start a new one.
urlurlobrigatórioA public https link straight to the file.

prepare_youtube_short

Prepara um Short público aprovado; só envia depois que o Reel sair no Instagram.

Registers an owner-approved original for a PUBLIC YouTube Short, only after its exact manually posted Instagram Reel is confirmed live. Use create_upload, PUT the approved cut, then this tool. Does not schedule or publish Instagram. Exact Instagram permalink, or one unambiguous matching full caption, required; a keyword alone never authorizes upload. FalaTu's worker uploads later within 12 hours of actual Instagram publication, subject to provider and rollout switches. Confirm the target accounts, original cut, audience and synthetic-content declarations with the owner first. This may publish publicly later; cancellation cannot undo a completed upload. Repeating identical arguments with the same id returns the same preparation; never create another id to retry an uncertain upload.

Parâmetros:

NomeTipoDescrição
account_idstringopcionalThe falatu account (account_id from list_brands). Only needed when this connection reaches several accounts and you don't pass brand_id.
brand_idstringopcionalThe brand to act on (brand_id from list_brands). Needed when this connection can see more than one brand: falatu never picks one for you (the answer is brand_required with the choices).
scheduled_post_ididobrigatórioThe scheduled post id (from create_upload or list_scheduled_posts).
media_urlurlobrigatório
instagram_channel_idstringobrigatório
youtube_channel_idstringobrigatório
instagram_captionstringobrigatório
instagram_urlurlopcionalExact live Instagram Reel permalink, when available; must belong to the source channel's API feed.
youtube_titlestringopcionalDefaults to the caption's first line, at most 100 characters.
keywordstringopcional
guide_base_urlurlopcionalExplicit guide-site base, e.g. https://cauhi.com. Together with keyword, appends /<keyword> to the YouTube description.
approved_by_ownerbooleanobrigatórioThe owner explicitly approved this original cut and public Short.
made_for_kidsbooleanobrigatórioExplicit owner-approved YouTube audience declaration.
contains_synthetic_mediabooleanobrigatórioExplicit owner-approved YouTube altered/synthetic-content declaration.

cancel_youtube_short

Cancela um Short que ainda não começou a subir, sem mudar o Instagram.

Cancels only a Short waiting for Instagram or still scheduled before uploading starts. Cancellation is final: a cancelled Short can't be resumed, so confirm with the owner before calling. Never deletes a published video, retries an uncertain upload or changes Instagram. Retains the original until safe storage cleanup.

Parâmetros:

NomeTipoDescrição
account_idstringopcionalThe falatu account (account_id from list_brands). Only needed when this connection reaches several accounts and you don't pass brand_id.
brand_idstringopcionalThe brand to act on (brand_id from list_brands). Needed when this connection can see more than one brand: falatu never picks one for you (the answer is brand_required with the choices).
ididobrigatório

schedule_post

Agenda o post (ou salva rascunho) com a automação junto, igual ao Agendar post do app; pode ir também pra Página do Facebook e pro YouTube.

Saves a post in the Agenda with its automation, exactly like "Agendar post" in the app. schedule: true = schedule it (checked against Instagram's rules: media, caption, a time in the future); false = save as a draft (Rascunho). At the time, FalaTu publishes it itself when the account allows it (mode "auto") or reminds the owner to post it ("reminder"); either way the automation switches on when the post is out. The keyword comes from the caption ("Comenta X") unless you pass one; no keyword = no automation. There is no post-now: it goes out at scheduled_at (the Agenda checks every minute); a time that has passed is refused. Grátis schedules up to 10 posts a month (by the month they go out; drafts don't count): a full month is refused. A new post goes to the brand's Instagram account: on a brand with several networks pass platform: "instagram" (implied when you pass facebook or youtube); an existing post keeps its account. The same post can also go to the brand's Facebook Page (facebook) and YouTube channel (youtube) at the same time, like picking them in "Onde publicar": one composition, every network its own job, each succeeding or failing on its own (results). Everything is checked before anything is saved. When the owner posts the Reel on Instagram by hand, pass instagram: false with facebook and/or youtube (a YouTube Short that should wait for the live Reel is prepare_youtube_short instead). Calling it again on a post that also goes to Facebook or YouTube must pass facebook and youtube again (the same objects, or null to take one off) so every network gets the new time and text. Saves or replaces scheduling data. Auto-mode posts will publish to Instagram, the Facebook Page and YouTube later and may activate automated replies and DMs. Later cancellation cannot undo content already published or messages already sent. Confirm publication details (networks, time, YouTube privacy and declarations) with the owner before scheduling.

Parâmetros:

NomeTipoDescrição
account_idstringopcionalThe falatu account (account_id from list_brands). Only needed when this connection reaches several accounts and you don't pass brand_id.
brand_idstringopcionalThe brand to act on (brand_id from list_brands). Needed when this connection can see more than one brand: falatu never picks one for you (the answer is brand_required with the choices).
platform"instagram" | "facebook"opcionalThe brand's network the new record is for: "instagram" | "facebook". Needed when the brand has more than one (the answer is channel_required with its channels).
channel_idstringopcionalThe brand's channel (channel_id from list_channels), instead of platform.
scheduled_post_ididobrigatórioThe scheduled post id (from create_upload or list_scheduled_posts).
format"reel" | "carousel" | "image"obrigatórioreel (one video), image (one JPEG) or carousel (2–10 items).
captionstringopcional(padrão: "")
mediaurl | object[]opcionalThe files in order. Omit to keep the files already saved on this post.
coverurl | nullopcionalReel cover: a JPEG uploaded the same way. null = none.
scheduled_atdate-time | nullopcionalWhen to publish, ISO 8601 with the offset, e.g. "2026-10-17T20:45:00-03:00". Required with schedule: true.
keywordstringopcionalThe word people comment; defaults to the one in the caption.
linkurl | stringopcionalThe link the DM delivers (or use page_id).
page_idstringopcionalA FalaTu Página to deliver instead of a link.
dm_textstringopcionalThe DM text; blank = the account default.
schedulebooleanobrigatóriotrue = schedule it; false = save as a draft.
instagrambooleanopcionalfalse = not on Instagram: the owner posts the Reel there by hand (to use Meta AI voice translation, say), and FalaTu publishes only facebook and/or youtube at scheduled_at. keyword, link, page_id and dm_text don't apply (they make the Instagram automation). On a post already scheduled on Instagram, false takes Instagram off (and its automation, if it never got a post). A post saved without Instagram can't be saved again here: cancel_scheduled_post and schedule it again, or change it in the app. (padrão: true)
facebookobject | nullopcionalAlso publish this post on the brand's Facebook Page at the same time: {} = with the caption. A reel goes as a Facebook Reel when it's 3 to 90 seconds long (Meta's Reels limit) and as a normal Page video when it's longer (up to 20 minutes), unless {format: "reel" | "page_video"} says which; an image goes as a photo; no carousels. null = take Facebook off. Needs schedule: true (Facebook has no drafts).
youtubeobject | nullopcionalAlso upload this reel to the brand's YouTube channel at the same time (one video, reel format only). null = take YouTube off. Needs schedule: true. Not for a Reel the owner posts by hand: that's prepare_youtube_short.

update_scheduled_post

Muda horário, legenda, palavra ou link de um post agendado (antes de sair).

Changes the time, caption, keyword, link or DM text of a scheduled post; anything you leave out stays. Refused once Instagram is processing it or it's published, and for a post that also goes to Facebook or YouTube (change that one with schedule_post, passing facebook and youtube, so the networks never drift apart). Changing the time of a post whose reminder already went out schedules it again. Moving it into a month that's full on Grátis is refused. Saves or replaces scheduling data. Auto-mode posts will publish to Instagram later and may activate automated replies and DMs. Later cancellation cannot undo content already published or messages already sent. Confirm publication details before scheduling.

Parâmetros:

NomeTipoDescrição
account_idstringopcionalThe falatu account (account_id from list_brands). Only needed when this connection reaches several accounts and you don't pass brand_id.
brand_idstringopcionalThe brand to act on (brand_id from list_brands). Needed when this connection can see more than one brand: falatu never picks one for you (the answer is brand_required with the choices).
scheduled_post_ididobrigatórioThe scheduled post id (from create_upload or list_scheduled_posts).
scheduled_atdate-timeopcionalISO 8601 with the offset.
captionstringopcional
keywordstringopcional"" = no automation.
linkurl | stringopcional
page_idstringopcional
dm_textstringopcional
schedulebooleanopcionaltrue = schedule a draft; false = back to draft. Default: keeps it as it is.

cancel_scheduled_post

Cancela um post agendado que ainda não saiu (apaga o post, os arquivos e a automação dele).

Cancels a scheduled post or draft that hasn't gone out: deletes it, its files and its automation (if it never got a post), and cancels its Facebook and YouTube jobs that haven't gone out (one already out or uploading stays, and keeps the file it reads). Refused once Instagram is processing it or it's published. Permanently deletes the scheduled record and stored media, and may delete its unpublished automation. Confirm deletion before calling; deleted files cannot be recovered through this tool.

Parâmetros:

NomeTipoDescrição
account_idstringopcionalThe falatu account (account_id from list_brands). Only needed when this connection reaches several accounts and you don't pass brand_id.
brand_idstringopcionalThe brand to act on (brand_id from list_brands). Needed when this connection can see more than one brand: falatu never picks one for you (the answer is brand_required with the choices).
scheduled_post_ididobrigatórioThe scheduled post id (from create_upload or list_scheduled_posts).

Ainda com dúvida? Escreve pra hello@falatu.ai que a gente responde.