For the complete documentation index, see llms.txt. This page is also available as Markdown.

Usage, sharing and comment tools

Reference for the FLORA MCP tools that read balance and spend in US dollars, share projects by link, and manage comment threads.

These FLORA MCP tools check what a workspace can spend, share a project by link, and work with its comment threads. flora_get_usage reports balance and spend in US dollars, the unit the agent shows the user. Sharing and comments are visible to other people, so the agent should change them only when the user asks.

For how agents price work and handle a low balance, see FLORA MCP cost, balance and limits.

Tool
What it does
Labels

Read a workspace's balance and spend, or an organization's spend, in US dollars.

read-only

Share a project by link with view or edit access, the way the canvas Share tab does, and return the link.

writes, destructive

Read how a project is shared: link mode, the active link, owner and members.

read-only

Change a project's link sharing: unshare it, limit it to view, open it for editing, or set or clear a passphrase.

writes, destructive

List a project's comment threads, newest first, with each thread's status, pin position and a preview.

read-only

Read one comment thread with its live messages, oldest first.

read-only

Pin a new comment thread on a project canvas and post its first comment. Collaborators see it on the canvas.

writes

Post a reply on an open comment thread.

writes

Mark a comment thread resolved. Its comments are kept.

writes

Reopen a resolved comment thread so it accepts replies again.

writes

Permanently delete one comment from a thread.

writes, destructive

flora_get_usage

Read a workspace's balance and spend, or an organization's spend, in US dollars.

Labels: read-only

Shown in clients as: Get usage

Use when: The user asks what they can still spend or what they've spent, or before a big batch.

Don't use when: You want the price of a specific request: quote it with flora_create_generations and quote: true. Never add balances across workspaces, because workspaces in one organization may share a pool.

Arguments

Argument
Type
Required
Notes

workspace_id

string

no

Workspace to read (ws_…), from flora_list_workspaces. Pass this or organization_id, not both.

organization_id

string

no

Organization to read spend across (org_…): the organization_id flora_list_workspaces returns for a workspace. Pass this or workspace_id, not both.

start_date

string

no

First UTC day to include, as YYYY-MM-DD. Defaults to 29 days before end_date.

end_date

string

no

Last UTC day to include, as YYYY-MM-DD. Defaults to today (UTC); a workspace read refuses a later day.

group_by

string

no

With organization_id only, adds one breakdown: workspace (by_workspace), model (by_model plus unattributed_cost) or day (by_day). Omit for totals. One of workspace, model, day.

Returns: For a workspace: available_cost (what can be spent now) and balance_scope (workspace or caller), plus spend (total_cost, classified_runs, runs_by_category) when the caller may see it. For an organization: spend only, with by_workspace, by_model or by_day when you pass group_by. When spend is unavailable, relay the reason (entitlement_missing or permission_missing); it never means zero spend.

Cost: Free. This tool doesn't spend money.

Usually comes after: flora_list_workspaces

Usually comes before: flora_create_generations

Example prompt: "How much can I still spend in my FLORA workspace?"

Example call:

Full description from the server

flora_share_project

Share a project by link with view or edit access, the way the canvas Share tab does, and return the link.

Labels: writes · destructive

Shown in clients as: Share project

Use when: The user asks for a share link.

Don't use when: You only want to see the current sharing (flora_get_project_sharing) or to unshare (flora_update_project_sharing with sharing_mode: "restricted"). Give the link to the user; don't post it anywhere else.

Arguments

Argument
Type
Required
Notes

project_id

string

yes

Project to share (prj_…). Use project_id from flora_list_projects or flora_create_project. An API-issued canvas URL's /projects/<id> segment becomes prj_<id>.

access

string

yes

What the link grants: view or edit. One of view, edit.

allow_comments

boolean

no

Whether visitors arriving through the link may comment (default on).

passphrase

string

no

Require this passphrase before the link resolves.

Returns: The share link. Anyone with it gets its access. access: "edit" may be refused with paid_plan_required, and access: "view" never downgrades a project already shared for editing.

Cost: Free. This tool doesn't spend money.

Usually comes after: flora_get_project_sharing

Example prompt: "Give me a view-only link to my Spring campaign project."

Example call:

Full description from the server

flora_get_project_sharing

Read how a project is shared: link mode, the active link, owner and members.

Labels: read-only

Shown in clients as: Get project sharing

Use when: The user asks who can see a project or whether it's shared.

Don't use when: You want to change sharing: use flora_share_project or flora_update_project_sharing.

Arguments

Argument
Type
Required
Notes

project_id

string

yes

Project to read (prj_…). Use project_id from flora_list_projects or flora_create_project. An API-issued canvas URL's /projects/<id> segment becomes prj_<id>.

Returns: The link sharing mode, the active share link (only when the user may manage sharing), the owner and the members.

Cost: Free. This tool doesn't spend money.

Usually comes after: flora_list_projects

Example prompt: "Who has access to my Spring campaign project?"

Example call:

Full description from the server

flora_update_project_sharing

Change a project's link sharing: unshare it, limit it to view, open it for editing, or set or clear a passphrase.

Labels: writes · destructive

Shown in clients as: Update project sharing

Use when: The user asks to unshare a project, revoke an edit link, or change link comments or the passphrase.

Don't use when: The user just wants a link: use flora_share_project. sharing_mode: "restricted" stops every existing link working, so confirm with the user first.

Arguments

Argument
Type
Required
Notes

project_id

string

yes

Project to change (prj_…). Use project_id from flora_list_projects or flora_create_project. An API-issued canvas URL's /projects/<id> segment becomes prj_<id>.

sharing_mode

string

no

restricted (unshare), view, or edit. One of restricted, view, edit.

allow_link_comments

boolean

no

Whether visitors arriving through the link may comment.

passphrase

string or null

no

A string sets the passphrase; null clears it.

Returns: The project's updated sharing. Only the fields you pass change; edit may be refused with paid_plan_required.

Cost: Free. This tool doesn't spend money.

Usually comes after: flora_get_project_sharing

Example prompt: "Unshare my Spring campaign project."

Example call:

Full description from the server

flora_list_comment_threads

List a project's comment threads, newest first, with each thread's status, pin position and a preview.

Labels: read-only

Shown in clients as: List comment threads

Use when: The user asks about feedback on a project, or you need a thread_id before reading, replying to or resolving a thread.

Don't use when: You want a thread's full messages: use flora_get_comment_thread. To find threads on one node, pass node_id here instead of filtering the list yourself.

Arguments

Argument
Type
Required
Notes

project_id

string

yes

Project the threads belong to (prj_…). Use project_id from flora_list_projects or flora_create_project. An API-issued canvas URL's /projects/<id> segment becomes prj_<id>.

status

string

no

open, resolved, or all (default). One of open, resolved, all.

anchor

string

no

canvas (pins on the canvas), generation (review threads on a generation result), or all (default). One of canvas, generation, all.

node_id

string

no

Only threads pinned to this canvas node. UUID or short id (n7) from flora_get_canvas; unknown short ids are rejected.

query

string

no

Plain-text match across the threads' live comments.

limit

number

no

Max items to return (default 20).

cursor

string

no

Pagination cursor from a previous call's meta.next_cursor.

Returns: A page of threads, each with its comment_thread_id (cth_…), status (open or resolved), anchor, position (x, y and the node_id it's pinned to), comment_count and a preview of its first comment, plus meta.next_cursor when there are more.

Cost: Free. This tool doesn't spend money.

Usually comes after: flora_list_projects

Example prompt: "What open comments are on my Spring campaign canvas?"

Example call:

Full description from the server

flora_get_comment_thread

Read one comment thread with its live messages, oldest first.

Labels: read-only

Shown in clients as: Get comment thread

Use when: You need what a thread says, or a comment_id to delete one comment.

Don't use when: You don't have the thread_id yet: get it from flora_list_comment_threads. Never guess one.

Arguments

Argument
Type
Required
Notes

project_id

string

yes

Project the threads belong to (prj_…). Use project_id from flora_list_projects or flora_create_project. An API-issued canvas URL's /projects/<id> segment becomes prj_<id>.

thread_id

string

yes

The thread (cth_…), from flora_list_comment_threads or flora_create_comment_thread. Never guess one.

Returns: The thread, with each message's comment_id (cmt_…), body, author and created_at.

Cost: Free. This tool doesn't spend money.

Usually comes after: flora_list_comment_threads

Example prompt: "Read me the comment thread on the hero image."

Example call:

Full description from the server

flora_create_comment_thread

Pin a new comment thread on a project canvas and post its first comment. Collaborators see it on the canvas.

Labels: writes

Shown in clients as: Create comment thread

Use when: The user wants to leave a new comment on the canvas or on a node.

Don't use when: A thread already exists for the topic: answer it with flora_reply_to_comment_thread. Leave out author: "flora"; only FLORA's own agents may post as FLORA, and any other caller gets forbidden.

To pin a comment on a node, pass node_id with x and y set to the node's canvas position from flora_get_canvas. offset_x and offset_y move the pin from the node's top-left corner. Without node_id, the pin sits at canvas x, y.

Arguments

Argument
Type
Required
Notes

project_id

string

yes

Project the threads belong to (prj_…). Use project_id from flora_list_projects or flora_create_project. An API-issued canvas URL's /projects/<id> segment becomes prj_<id>.

body

string

yes

Plain-text comment, 1 to 10,000 characters after trimming.

x

number

yes

Canvas X coordinate of the pin.

y

number

yes

Canvas Y coordinate of the pin.

node_id

string

no

Canvas node to attach the pin to. UUID or short id (n7) from flora_get_canvas; unknown short ids are rejected.

offset_x

number

no

Pin offset from the node's left edge.

offset_y

number

no

Pin offset from the node's top edge.

author

string

no

user (default) posts as the signed-in user. flora posts as FLORA and is accepted only from Flora's own FAUNA, Chat, and Create agents; every other credential receives forbidden, so omit it unless you are one of those agents. One of user, flora.

Returns: The new thread's comment_thread_id (cth_…).

Cost: Free. This tool doesn't spend money.

Usually comes after: flora_get_canvas

Usually comes before: flora_get_comment_thread

Example prompt: "Leave a comment on node n7 saying the logo is too small."

Example call:

Full description from the server

flora_reply_to_comment_thread

Post a reply on an open comment thread.

Labels: writes

Shown in clients as: Reply to comment thread

Use when: The user wants to answer an existing comment.

Don't use when: The thread is resolved: reopen it with flora_reopen_comment_thread first, or a reply is rejected with input_validation_error. A thread whose comments were all deleted stays resolved; start a new one with flora_create_comment_thread.

Arguments

Argument
Type
Required
Notes

project_id

string

yes

Project the threads belong to (prj_…). Use project_id from flora_list_projects or flora_create_project. An API-issued canvas URL's /projects/<id> segment becomes prj_<id>.

thread_id

string

yes

The thread (cth_…), from flora_list_comment_threads or flora_create_comment_thread. Never guess one.

body

string

yes

Plain-text comment, 1 to 10,000 characters after trimming.

author

string

no

user (default) posts as the signed-in user. flora posts as FLORA and is accepted only from Flora's own FAUNA, Chat, and Create agents; every other credential receives forbidden, so omit it unless you are one of those agents. One of user, flora.

Returns: The new comment, with its comment_id (cmt_…).

Cost: Free. This tool doesn't spend money.

Usually comes before: flora_resolve_comment_thread

Example prompt: "Reply to that thread saying I've swapped in the larger logo."

Example call:

Full description from the server

flora_resolve_comment_thread

Mark a comment thread resolved. Its comments are kept.

Labels: writes

Shown in clients as: Resolve comment thread

Use when: The user says the feedback in a thread is handled.

Don't use when: You want to remove a comment: use flora_delete_comment. A guest who can only comment can't resolve threads and gets forbidden.

Arguments

Argument
Type
Required
Notes

project_id

string

yes

Project the threads belong to (prj_…). Use project_id from flora_list_projects or flora_create_project. An API-issued canvas URL's /projects/<id> segment becomes prj_<id>.

thread_id

string

yes

The thread (cth_…), from flora_list_comment_threads or flora_create_comment_thread. Never guess one.

Returns: The thread with its messages. A thread that's already resolved comes back unchanged.

Cost: Free. This tool doesn't spend money.

Usually comes after: flora_list_comment_threads

Example prompt: "Resolve the logo comment thread."

Example call:

Full description from the server

flora_reopen_comment_thread

Reopen a resolved comment thread so it accepts replies again.

Labels: writes

Shown in clients as: Reopen comment thread

Use when: The user wants to reply to, or revisit, a thread that's resolved.

Don't use when: Every comment in the thread was deleted: it stays resolved, so start a new one with flora_create_comment_thread. A guest who can only comment can't reopen threads and gets forbidden.

Arguments

Argument
Type
Required
Notes

project_id

string

yes

Project the threads belong to (prj_…). Use project_id from flora_list_projects or flora_create_project. An API-issued canvas URL's /projects/<id> segment becomes prj_<id>.

thread_id

string

yes

The thread (cth_…), from flora_list_comment_threads or flora_create_comment_thread. Never guess one.

Returns: The thread with its messages. A thread that's already open comes back unchanged.

Cost: Free. This tool doesn't spend money.

Usually comes after: flora_list_comment_threads

Usually comes before: flora_reply_to_comment_thread

Example prompt: "Reopen the logo thread; it still looks too small."

Example call:

Full description from the server

flora_delete_comment

Permanently delete one comment from a thread.

Labels: writes · destructive

Shown in clients as: Delete comment

Use when: The user asks you to delete a specific comment, usually one they or FLORA posted.

Don't use when: The feedback is only handled: resolve the thread with flora_resolve_comment_thread instead. Someone else's comment returns forbidden. Deleting can't be undone.

Arguments

Argument
Type
Required
Notes

project_id

string

yes

Project the threads belong to (prj_…). Use project_id from flora_list_projects or flora_create_project. An API-issued canvas URL's /projects/<id> segment becomes prj_<id>.

thread_id

string

yes

The thread (cth_…), from flora_list_comment_threads or flora_create_comment_thread. Never guess one.

comment_id

string

yes

The comment (cmt_…), from flora_get_comment_thread's messages.

Returns: The deletion result. Deleting a thread's last comment resolves the thread and returns thread_resolved: true.

Cost: Free. This tool doesn't spend money.

Usually comes after: flora_get_comment_thread

Example prompt: "Delete my last comment on the logo thread."

Example call:

Full description from the server

Last updated

Was this helpful?