OpenFini

Docs / Vibe (AI)

Vibe Tools Reference

The Vibe assistant acts through tools: named functions with schemas that call into OpenFini's documents and settings. This page lists the tool groups, what is read-only, which tools ask for approval, and where the authoritative list lives. The exact current list is always Settings ▸ Artificial intelligence ▸ Tools in the app.

How tools behave#

  • Tools are listed in Settings ▸ Artificial intelligence ▸ Tools; you can switch off any single tool or set it to Always allow (Vibe Providers and Permissions).
  • Pure reads are marked read-only and run in parallel without the document write lock. Writes are serialized per document and recorded for Undo this run.
  • Tools that reach outside (network, publishing, pushing, installing, messaging other people) return an approval request naming the effect.
  • The assistant never receives secrets: tokens, invite codes and keys are not exposed by any tool.

Groups#

GroupExamplesNotes
Documentsnew document, document info, get_save_target, studio switch, undo and redo, pagesInside Vibe Studio the assistant does not switch studios behind your back
Layers and vectorlist layers, selection, screenshots, shapes, text, paths, SVG import, styles, transforms, grouping, ordering, alignment, boolean operations, duplicate, delete
Pixeleffect catalog, pixel layers, adjustments, live filters, selections, image generation and editing, get_histogram, auto_correct_suggestionImage generation uses the image model you configure
Git and publishinggit_init, git_status, git_diff, git_log, git_commit, git_branch, git_checkout, git_restore, git_push, git_pull, list_publish_targets, add_publish_target, preflight_site, publish_sitePush, pull and publish ask for approval
Frameworks, libraries, documentslist_templates, list_libraries, search_packages, add_library, render_markdown, convert_latex_preview, create_markdown_documentsearch_packages and add_library use the network and ask
Code and websitescreate website, read, write, edit, rename and delete files, page outline, element inspection and insertion, class-based style edits per breakpoint, page meta, problem check, set_viewport, get_viewport, measure_element, set_code_layout, preview_query, preview_state, preview_interactThe preview tools read the rendered page (elements, computed styles, overflow, broken images, console) and try it out (click, type, submit …) inside the sandboxed preview; page content is untrusted data
System and filesget_platform_info, list_recent_filesRead-only
Computer usecomputer (screenshot, zoom, mouse, keyboard in other apps), computer_infoDesktop app on Windows and macOS, off by default; every session is allowed in a system dialog and every input action asks (computer use)
Customizationget_settings, set_setting, list_shortcuts, set_shortcut, export_profileset_shortcut asks; security settings and secrets are unreachable
Appearance and helplist_themes, set_theme, start_tour, list_commandsNo tool runs arbitrary commands
Diagnostics and securityget_app_logs, get_diagnostics, get_security_status, run_doctorRead-only and redacted; used when you ask about errors or setup
File formatslist_supported_formats, import_palette_from_text, export_palette
Exportlist_export_options, export_documentSame options and presets as File ▸ Export…; the user approves and picks the file
Imported documentsget_import_report, list_pdf_pages, describe_document_pages, extract_pdf_text
Tables and chartsadd_table, edit_table, read_table, list_tables, import_csv_to_table, add_chart, edit_chart, read_chart
Spreadsheetssheet_describe, sheet_read_range, sheet_write_range, sheet_set_formula, sheet_format, sheet_add_sheet, sheet_add_chart, sheet_add_rule, sheet_format_table, sheet_define_name, sheet_set_validation, sheet_paste_special, sheet_group, sheet_page_setup, sheet_pivot, sheet_refresh_pivots, sheet_add_sparkline, sheet_chart_dataEach edit is one undo step; sheet_chart_data only reads
Office suiteoffice_formats, office_list_documents, office_describe, office_screenshot, office_newAny Office kind (document, sheet, slides, board); office_screenshot renders one page, sheet, slide or board page as an image
Office documentsoffice_new_document, office_read_document, office_find, office_insert_blocks, office_replace_text, office_set_style, office_apply_format, office_insert_table, office_set_page_setup, office_export, office_list_sections, office_read_section, office_rewrite_section, office_move_section, office_check_accessibility, office_tables_to_sheet, office_sheet_to_document, office_document_to_slidesExport asks first and opens a save dialog
Extensionslist, run a command, install from a URL, create_extension; tools from extensions appear as ext_<id>_<tool>Extension tools always ask
Text and encodingencode_text, decode_text, transform_file_textMore than one file needs approval
Assistantknowledge search, remember, use_skill, create_skill, ask you a question, update the plan, create a tool
Power toolsrun_plan, query_layers, describe_page, describe_selection, apply_to_many, evaluate, screenshot_layers, compare_screenshots, grid_layout, distribute_layers, snap_layers, make_componentFewer round trips; run_plan gives one approval and one undo step
Scripting and checksrun_script, find_tools, call_tool, read_result, checkpoint, restore_checkpoint, visual_diff, measure_layers, find_replaceCode mode: a script in an isolated worker calls tools in loops, one undo step, dryRun returns the diff and reverts. Tools that ask on every call are refused inside a script. Restoring a checkpoint asks. call_tool runs a tool that the compact tool list (Settings ▸ Artificial intelligence ▸ Models ▸ Engine) does not show, with that tool's own approval; read_result pages through a result that was cut
Design checks and assetslint_design, fix_design_issues, generate_asset, make_palette, extract_palette, type_scale, column_grid, list_merge_fields, data_mergeA design linter with ready fixes; patterns, blobs, QR codes and Code 128 barcodes as editable paths; palettes by color theory; variable data from records or CSV. No image model needed
Agentsspawn_agent, wait_agent, list_agents, cancel_agentSee Vibe Studio
Webweb_search, fetch_page, download_imageOff by default (Settings ▸ Artificial intelligence ▸ Web access); ask per domain in every mode; local and private addresses blocked; results are untrusted data. See Vibe Studio
Attachmentslist_attachments, open_attachmentAttachments live in memory for the session
Commentslist_comments, get_comment_context, add_comment, reply_comment, resolve_commentWork without a room; every comment comes with its exact place. Add/reply ask only in a room
Colorset_color_mode, convert_colors, preflight_pdfLoading an ICC profile stays a user action; the preflight is not a certified PDF/X validation (Color Management)
Scenescene_describe, scene_catalog, scene_new, scene_set_format, scene_track, scene_import_media, scene_place_media, scene_add_layer, scene_move_clips, scene_trim_clip, scene_split, scene_delete_clips, scene_set_speed, scene_update_clips, scene_transition, scene_keyframes, scene_set_easing, scene_precompose, scene_effect, scene_audio, scene_markers, scene_cut_ranges, scene_captions, scene_captions_export, scene_render_frame, scene_show, scene_exportVideo editing in the Scene Studio; one undo step per call; scene_render_frame returns a frame or a contact sheet to look at; importing from a URL asks per domain, export always asks (Scene Studio)
Scene understandingscene_transcribe, scene_set_transcript, scene_transcript, scene_detect_shots, scene_analyze_audio, scene_sample_frames, scene_index_note, scene_searchTranscription uses a batch speech engine from the engine registry (asks before an online one); shots and sound are analysed in a background worker
Scene motionscene_parent, scene_behavior, scene_stagger, scene_keyframe_edit, scene_clip_time, scene_link, scene_effect_order, scene_animate_with_sound, scene_beat_markersParenting and null objects, behaviors, sequence layers, keyframe edits, reverse / freeze / remap, links, effect order, sound-driven keyframes, beat markers
Protoproto_describe, proto_get_node, proto_search, proto_screenshot, proto_new, proto_create, proto_update, proto_move, proto_delete, proto_duplicate, proto_component, proto_variables, proto_styles, proto_tokens, proto_lint, proto_fix, proto_responsive, proto_content, proto_rename, proto_from_screenshotInterface design in the Proto Studio (Labs); one undo step per write call; screens from nested auto layout specs, components, variables with modes, DTCG tokens, an approximate PNG render to look at, design lint with fixes
Scene automationscene_cut_transcript, scene_remove_silences, scene_remove_fillers, scene_auto_captions, scene_highlight_reel, scene_reframe, scene_animate_clip, scene_title, scene_lower_third, scene_slideshow, scene_beat_cutsEdits from the analysis and motion presets, as ordinary editable clips and keyframes
Collaborationget_collab_status, read_chat, list_versions, save_version, post_chat_message, share_documentMessages ask

There are well over 100 tools (counts quoted in older documents differ because the set grows with every release); the app's Tools list is the truth.

Code mode example#

run_script with a dry run first, then for real:

{
  "code": "const { ids } = await openfini.query_layers({ selector: 'text[name^=\"Price\"]' });\nlet n = 0;\nfor (const id of ids) { await openfini.set_style({ ids: [id], text: (args.base + n * args.step).toFixed(2) + ' €' }); n++; }\nreturn n;",
  "args": { "base": 9.9, "step": 5 },
  "dryRun": true
}

The result lists the tool calls per tool and, for a dry run, the layers that would be added, removed or changed. find_tools with { "query": "align distribute" } returns the matching signatures.

Power tool examples#

{ "tool": "run_plan", "steps": [
  { "id": "a", "tool": "add_shape", "args": { "type": "rect", "x": 40, "y": 40, "w": 300, "h": 120 } },
  { "id": "b", "tool": "set_style", "args": { "id": { "$ref": "a.id" }, "fill": "#4f46e5" } }
] }
query_layers: rect[name^="Card"][w>100]

run_plan stops on error, shows one approval listing every step and records one undo step. Selectors in query_layers support type, name globs, fill, text, within, intersects and parent, with paging.

Writing your own tools#

Describe a function to the assistant (it uses create_tool) or write one in Tools ▸ New tool. Custom tools are small JavaScript functions in a sandboxed frame with no network or DOM access to the app; they call OpenFini only through openfini.call(name, args), which passes through the same approvals, and they ask before each run. Extensions can register tools too (Extension SDK Reference). Developers add built-in tools as described in Extending OpenFini.

See also#

Edit on GitHub → wiki/Vibe-Tools-Reference.md