Tool catalog

Every tool the gateway serves, with the scope it needs, the arguments it takes, and what it returns. This page is generated from the running gateway, so it always matches what your agent can call.

Workspaces

workspaces.list any token

List the workspaces this token can act in, with the role and effective scopes it holds in each. Call this first, then pass a workspace subdomain to every other tool.

Parameters
No parameters.
Returns
  • workspaces array required
    each item: object
    • subdomain string required
    • name string required
    • role string required
    • scopes array required
      each item: string

Knowledge

knowledge.add_url_source write:knowledge

Add a source that crawls a fixed list of URLs into a knowledge collection.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • collection_id integer required
  • name string required
  • urls any required

    Array of URLs, or a newline-separated string of URLs

  • sync_frequency string optional one of manual daily weekly monthly
Returns
  • source_id integer required
  • name string required
  • url_count integer required
knowledge.add_website_source write:knowledge

Add a source that crawls an entire website into a knowledge collection.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • collection_id integer required
  • name string required
  • base_url string required
  • max_pages integer optional
  • sync_frequency string optional one of manual daily weekly monthly
Returns
  • source_id integer required
  • name string required
  • base_url string required
knowledge.create_collection write:knowledge

Create a new knowledge collection in the workspace.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • name string required
  • description string optional
Returns
  • collection_id integer required
  • name string required
knowledge.delete_document delete:knowledge

Delete a knowledge document.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • document_id integer required
Returns
  • document_id integer required
  • deleted boolean required one of true
knowledge.delete_source delete:knowledge

Delete a knowledge source and its documents.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • source_id integer required
Returns
  • source_id integer required
  • deleted boolean required one of true
knowledge.get_document read:knowledge

Fetch the full text of one knowledge document by id.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • document_id integer required
Returns
  • document_id integer required
  • title string required
  • content_type string required one of text markdown
  • content string or null required
knowledge.reprocess_document write:knowledge

Re-queue a knowledge document for processing and embedding.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • document_id integer required
Returns
  • document_id integer required
  • status string required one of pending processing processed error
knowledge.search read:knowledge

Search the workspace knowledge base and return relevant passages.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • query string required
  • limit integer optional
Returns
  • results array required
    each item: object
    • document_id integer required
    • title string required
    • content string required
    • score number required
knowledge.sync_source write:knowledge

Trigger an immediate re-sync of a knowledge source.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • source_id integer required
Returns
  • source_id integer required
  • status string required one of pending syncing active error
knowledge.update_collection write:knowledge

Update a knowledge collection's name or description.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • collection_id integer required
  • name string optional
  • description string optional
Returns
  • collection_id integer required
  • name string required
  • description string or null required

Storage

storage.add_column write:storage

Add a column to a workspace storage table.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • table string required
  • name string required
  • type string required
  • encrypted boolean optional
Returns
  • table string required
  • columns array required
    each item: object
    • name string required
    • type string required
    • encrypted boolean required
storage.bulk_delete_rows delete:storage

Delete several rows from a workspace storage table, by lookup key or a search term.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • table string required
  • lookup_keys array optional
    each item: string
  • search string optional
Returns
  • deleted_count integer required
storage.change_key write:storage

Change which columns identify a row in a workspace storage table, rebuilding every row's key.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • table string required
  • key_columns array required
    each item: string
Returns
  • table string required
  • key_columns array required
    each item: string
storage.create_table write:storage

Create a new workspace storage table, optionally with columns.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • name string required
  • description string optional
  • columns array optional
    each item: object
    • name string optional
    • type string optional
    • encrypted boolean optional
Returns
  • table string required
  • columns array required
    each item: object
    • name string required
    • type string required
    • encrypted boolean required
storage.delete_row delete:storage

Delete a row from a workspace storage table, found by its lookup key.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • table string required
  • lookup_key string required
Returns
  • lookup_key string required
  • deleted boolean required
storage.delete_table delete:storage

Delete a workspace storage table and all of its rows.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • table string required
Returns
  • table string required
  • deleted boolean required
storage.drop_column write:storage

Drop a column from a workspace storage table.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • table string required
  • column string required
Returns
  • table string required
  • columns array required
    each item: object
    • name string required
    • type string required
storage.insert_row write:storage

Insert a row into a workspace storage table from a map of column name to value.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • table string required
  • values object required
Returns
  • lookup_key string or null required
  • row object required
storage.list_tables read:storage

List the workspace storage tables and their columns.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • limit integer optional
  • offset integer optional
Returns
  • tables array required
    each item: object
    • name string required
    • description string or null required
    • row_count integer required
    • columns array required
      each item: object
      • name string required
      • type string required
  • has_more boolean required
storage.query_rows read:storage

Read rows from a workspace storage table, optionally filtered by a search term.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • table string required
  • search string optional
  • limit integer optional
  • offset integer optional
Returns
  • rows array required
    each item: object
    • lookup_key string or null required
  • has_more boolean required
storage.rename_column write:storage

Rename a column on a workspace storage table.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • table string required
  • column string required
  • new_name string required
Returns
  • table string required
  • columns array required
    each item: object
    • name string required
    • type string required
storage.update_row write:storage

Update a row in a workspace storage table, found by its lookup key.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • table string required
  • lookup_key string required
  • values object required
Returns
  • lookup_key string or null required
  • row object required
storage.update_table write:storage

Update a workspace storage table's name or description.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • table string required
  • name string optional
  • description string optional
Returns
  • table string required
  • description string or null required

Flow

flow.apply_graph_ops write:flow

Apply an ordered batch of surgical edits (add_node, update_node, delete_node, connect, disconnect) to a flow graph, atomically. Reference or shape errors reject the whole batch and save nothing; a graph that saves but fails validation is returned with valid:false and errors.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • definition_id integer required
  • ops array required
    each item: one of
    add_node
    • op any required one of add_node
    • id string required
    • type string required
    • data object optional
    • position object optional
      • x number optional
      • y number optional
    update_node
    • op any required one of update_node
    • node_id string required
    • set object optional
    • unset array optional
      each item: string
    delete_node
    • op any required one of delete_node
    • node_id string required
    connect
    • op any required one of connect
    • source string required
    • target string required
    • source_handle string optional
    • target_handle string optional
    disconnect
    • op any required one of disconnect
    • edge_id string required
    disconnect
    • op any required one of disconnect
    • source string required
    • target string required
    • source_handle string optional
    • target_handle string optional
Returns
  • applied array required
    each item: object
    • op string required
    • node_id string optional
    • edge_id string optional
    • edge_ids array optional
      each item: string
  • status string required one of saved saved_with_errors
  • valid boolean required
  • error_summary string optional
  • errors array required
    each item: string
flow.configure_deployment deploy:flow

Patch a deployment's platform_configuration with dotted set/unset paths, merged into the existing config and validated as a whole. Invalid config is refused and nothing is saved. Use flow.get_deployment to see the keys each platform expects.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • deployment_id integer required
  • set object optional
  • unset array optional
Returns
  • deployment_id integer required
  • serving boolean required
  • platform_configuration object required
flow.create_definition write:flow

Create a new flow definition. Starts from a blank graph unless a template key is given (see flow.list_templates).

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • name string required
  • description string optional
  • template string optional
  • personality string optional
Returns
  • definition_id integer required
  • name string required
flow.create_deployment deploy:flow

Deploy a flow definition to a platform. Creating or activating a deployment on a connected platform (Intercom, WhatsApp, Telegram, Messenger, Instagram) triggers live side effects -- webhook setup, tag sync -- against that platform.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • definition_id integer required
  • name string required
  • platform string required
  • version_strategy string optional
  • deployed_version_id integer optional
  • platform_connection_id integer optional
  • active boolean optional
Returns
  • deployment_id integer required
  • serving boolean required
flow.delete_definition delete:flow

Delete a flow definition.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • definition_id integer required
Returns
  • definition_id integer required
  • deleted boolean required
flow.get_definition read:flow

Get a flow definition's graph (nodes and edges) and publication status.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • definition_id integer required
Returns
  • id integer required
  • name string required
  • description string or null required
  • data object required
    • nodes array required
    • edges array required
  • publication_status string required
  • can_publish boolean required
  • latest_version_id integer or null required
  • personality string required
flow.get_deployment read:flow

Get one deployment's platform, status, version, connection, and current platform_configuration, plus per-platform config hints (which keys that platform expects).

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • deployment_id integer required
Returns
  • id integer required
  • name string required
  • platform string required
  • active boolean required
  • serving boolean required
  • version_strategy string required
  • deployed_version_id integer or null required
  • platform_connection object or null required
    • id integer required
    • platform string required
  • platform_configuration object required
  • config_hints object required
    • required array required
      each item: string
    • optional array required
      each item: string
flow.list_deployments read:flow

List the workspace's deployments, optionally for one definition: id, name, platform, active/serving, version strategy.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • definition_id integer optional
Returns
  • deployments array required
    each item: object
    • id integer required
    • name string required
    • platform string required
    • active boolean required
    • serving boolean required
    • version_strategy string required
    • definition_id integer required
flow.list_node_types any token

List the node types available for building a flow, with their fields and defaults.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

Returns
each item: object
  • type string required
  • label string required
  • category string required
  • tier string or null optional
  • description string required
  • handles object required
    • input boolean required
    • output boolean required
    • custom array optional
      each item: object
      • id string required
      • label string optional
      • color string optional
      • description string optional
  • fields array required
    each item: object
    • name string required
    • type string required
    • label string required
    • description string required
    • required boolean required
    • multiLine boolean optional
    • placeholder string optional
    • defaultValue any optional
    • min number optional
    • max number optional
    • options array optional
    • validation object optional
    • widgetConfig object optional
    • ui object optional
  • defaultData object required
flow.list_templates any token

List the flow templates flow.create_definition can start from. Pass a template's key as create_definition's `template`.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

Returns
each item: object
  • key string required
  • name string required
  • description string or null required
flow.publish publish:flow

Publish a flow definition's current draft as a new version, feeding live deployments on the latest strategy.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • definition_id integer required
  • notes string optional
Returns
  • version_id integer required
  • content_hash string required
  • published_at string required
flow.restore_version write:flow

Restore a flow definition's draft to a prior version's graph.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • version_id integer required
Returns
  • definition_id integer required
  • restored boolean required
flow.run run:flow

Send a message to your bot in test mode and get its reply. Pass conversation_ref to continue.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • definition_id integer required
  • message string required
  • conversation_ref string optional
Returns
  • reply string or null required
  • conversation_ref string required
flow.update_definition write:flow

Update a flow definition's name, description, or bot personality. The graph is edited with flow.apply_graph_ops, not here.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • definition_id integer required
  • name string optional
  • description string optional
  • personality string optional
Returns
  • updated boolean required
flow.update_deployment deploy:flow

Update a deployment: activate/deactivate it, change its version strategy or pinned version, or rename it. Activating a deployment on a connected platform triggers live side effects. Use flow.configure_deployment for platform_configuration.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • deployment_id integer required
  • name string optional
  • active boolean optional
  • version_strategy string optional
  • deployed_version_id integer optional
Returns
  • deployment_id integer required
  • serving boolean required

Conversations

conversations.get read:conversations

Fetch one conversation's transcript and context (deployment, definition, variables, contact). Add read:conversations_pii for contact email/phone and the visitor's submitted PII.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • conversation_id integer required
Returns
  • transcript string required
  • status string required
  • platform string required
  • test_mode boolean required
  • started_at string or null required
  • last_activity_at string or null required
  • context object required
    • deployment object or null required
      • id integer required
      • name string or null required
      • platform string required
    • definition object or null required
      • id integer required
      • name string or null required
    • version object or null required
      • id integer required
      • content_hash string or null required
    • current_node_id string or null required
    • variables object required
    • contact object or null required
      • name string required
      • verified boolean required
      • email string or null optional
      • phone string or null optional
    • user_info object optional
conversations.list read:conversations

List conversations in the workspace, with optional filters. Mirrors the customer dashboard's conversation list.

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • definition_id integer optional
  • deployment_id integer optional
  • status string optional
  • platform string optional
  • test_mode boolean optional
  • limit integer optional
  • offset integer optional
Returns
  • conversations array required
    each item: object
    • id integer required
    • session_id string required
    • status string required
    • platform string required
    • test_mode boolean required
    • deployment_id integer or null required
    • definition_id integer or null required
    • started_at string or null required
    • last_activity_at string or null required
    • message_count integer required
    • contact object optional
      • name string required
      • email string or null optional
      • phone string or null optional
  • has_more boolean required
conversations.trace debug:conversations

Fetch the ordered node-execution trace and AI usage summary for one conversation, for debugging a flow run (including test-mode runs from flow.run).

Parameters
  • workspace string required

    Subdomain of the workspace to operate on. workspaces.list reports the ones this token can reach.

  • conversation_id integer required
  • limit integer optional
  • offset integer optional
Returns
  • steps array required
    each item: object
    • step_id integer required
    • processing_time_ms integer or null required
    • node_executions array required
      each item: object
      • node_id string required
      • node_label string required
      • node_type string required
      • execution_order integer required
      • processing_time_ms integer or null required
      • outgoing_handle string or null required
      • input_data object or null required
      • output_data object or null required
      • metadata object or null required
      • agent_executions array required
        each item: object
        • provider string required
        • model_id string required
        • status string or null required
        • input_tokens integer or null required
        • output_tokens integer or null required
        • cost number required
        • duration_seconds number or null required
        • error_message string or null required
      • rag_executions array required
        each item: object
        • query string required
        • search_type string or null required
        • chunks_retrieved_count integer or null required
        • search_duration_ms integer or null required
        • average_relevance_score number or null required
        • error_message string or null required
  • ai_usage object or null required
    • total_calls integer required
    • total_input_tokens integer required
    • total_output_tokens integer required
    • total_tokens integer required
    • total_cost number required
    • by_model object required
  • has_more boolean required
Request a demo
This form is running on UniversalChatbot.