56,641 tools
list_icon_categories
Returns the icon library categories with a one-line description and count for each. Call this first whenever a diagram would read better wit…
search_icons
Returns icons matching a query, ranked, with the stable slugs that add_icons and the add_icon operation require. Omit category to search the…
add_icons
Places one or more library icons on the active canvas at canvas-space coordinates, revealing them progressively so the human can follow the …
upload_image
Uploads image bytes you have (generated, fetched, or otherwise produced) and places the result on the active canvas - unlike apply_ops add_i…
apply_ops
Applies typed add_shape, add_arrow, add_pen, add_image, move, resize, rotate, set_label, set_style, delete, duplicate, align, distribute, or…
auto_layout
Arranges shapes into a clean layered diagram using the arrows as the flow: connected shapes are pulled into ordered rows, both axes are repo…
undo
Reverts the last committed human or agent change on the active canvas and returns the current scene.
redo
Re-applies the last change undone by undo, on the active canvas, and returns the current scene.
get_history
Returns the recent log of agent-applied changes on the active canvas (change ID, reason, operation count, time), newest first. Pass a change…
revert_change
Restores the canvas to its exact state immediately before the given changeId (from get_history or an earlier tool result) without requiring …
set_selection
Selects the given element IDs on the active canvas, exactly as if the human had clicked them, so a later reference ("these three") is visibl…
focus_viewport
Pans and zooms the human's view to fit the given element IDs, or the whole scene if omitted, so whatever the agent just built or is discussi…
fit_label
Resizes a text element's box to exactly fit its rendered label with no clipping, fixing what get_text_overflow reports instead of guessing n…
rename_canvas
Renames a canvas by its stable ID. Does not activate or otherwise change it.
delete_canvas
Permanently deletes a canvas by its stable ID along with its saved elements. Cannot delete the only remaining canvas. If the deleted canvas …
import_diagram
Parses a mermaid flowchart (node shapes [rect] {diamond} (ellipse), --> / --- edges, optional |edge labels|) and builds it on the active can…
get_comments
Returns notes the human pinned to specific areas of the active canvas - each with its text, the element IDs it was left on, and its canvas-s…
resolve_comment
Removes a comment by ID once you have acted on it, or decided no action is needed - it disappears from the canvas for the human. Call get_co…
get_model
The whole model: elements (with doc/script/mock/binding flags), flows (with conditions and default markers), lanes, scenarios, tests, plus c…
get_element
Full detail for one element: documentation, script or mock source, binding, condition, incoming/outgoing flows.
get_issues
Validation and portability findings for the current model.
add_element
Add a flow node. type: task, userTask, serviceTask, scriptTask, sendTask, receiveTask, businessRuleTask, manualTask, callActivity, subProces…
connect
Connect two elements with a sequence flow (or a message flow across pools). Optional label names the flow.
update_element
Rename an element.
delete_element
Delete an element (its connections go with it). Undoable.
move_element
Move a shape to an absolute diagram position (top-left corner).
add_lane
Add a lane. Wraps the process in a pool (participant) first when none exists.
move_to_lane
Assign an element to a lane and move it into the lane band.
auto_layout
Re-place the top-level flow nodes left-to-right by graph depth and re-route their connections.
set_condition
Set (or clear, with empty expression) the JavaScript conditionExpression on a sequence flow. The expression reads `payload`, e.g. payload.am…
set_default_flow
Mark one outgoing flow as the gateway default (taken when no condition matches).
set_script
Set the JavaScript body of a bpmn:ScriptTask (scriptFormat text/javascript). The script mutates `payload`.
set_mock
Set (or clear, with empty code) the bsf:mock browser stand-in on a service/send/user/rule task. The mock mutates `payload`; throw to exercis…
set_instructions
Set (or clear, with empty text) the bsf:instructions on a task — the natural-language work item an LLM agent performs when the workflow runs…
set_binding
Declare the real-world implementation intent (bsf:binding) for a task: a type (http, kafka-producer, queue, decision, stream-consumer, manua…
set_documentation
Set the bpmn:documentation text on any element — the human-readable business logic.
define_scenario
Add or replace a named bsf:scenario (a JSON payload the process can be run with).
run_scenario
Run a scenario (by name, or the first one; or pass an ad-hoc JSON payload) to completion in the browser engine. Returns the full trace, end-…
step_scenario
Advance the visible token one step (starts a run with the named scenario if none is active). Returns the run state after the step.
reset_run
Clear the active run and its canvas highlighting.