Developer Tools

Roboflow MCP

Manage Roboflow computer-vision projects, datasets, images, annotation, model training, deployment, inference, workflows and devices through Roboflow's hosted MCP server.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Vision events custom metadata schema get

    Get the custom-metadata schema discovered for a use case. Custom metadata is arbitrary key/value data attached to events at ingestion time. This returns the fields seen so far and their value types, which is what you need to build ``customMetadataFilters`` for ``vision_events_query``. Keys attached to individual images (``images[].metadata``) are listed separately by ``vision_events_image_metadata_schema_get``. Returns ``{useCaseId, fields}`` where ``fields`` maps each field name to the value types observed for it (string, number, and/or boolean).

  • Vision events delete

    Delete Vision Events by ID, with an explicit option to remove unshared media. Event deletion is a soft delete. By default, media stays in the Asset Library. With ``delete_media=True``, the platform permanently removes only media that no other live event, project, dataset, eval dataset, or bucket mirror uses. This requires ``project:update`` as well as Vision Events deletion access. The platform returns ``deleted``, ``notFound`` and, when requested, ``media: {deleted, kept, failed}``. A kept count means that media was not removed; a failed cleanup may follow event deletion. Check the returned summary before reporting the outcome.

  • Vision events image metadata schema get

    Get the per-image metadata schema discovered for a use case. Per-image metadata is key/value data attached to an individual image inside an event (for example the camera or station that captured it), as opposed to the event-level ``customMetadata`` covered by ``vision_events_custom_metadata_schema_get``. In ``vision_events_query`` results it appears on each image as ``images[].metadata``. This returns the keys seen so far and their value types, which is what you need to build ``imageMetadataFilters`` for ``vision_events_query``. Returns ``{useCaseId, fields}`` where ``fields`` maps each key to the value types observed for it (string, number, and/or boolean). A key holding date-like strings may instead report a raw storage type such as ``DateTime64(9)``; such a key is not returned in ``images[].metadata`` and cannot be used in ``imageMetadataFilters``.

  • Vision events query

    Query production vision events for a use case, with filters and pagination. This is the primary tool for answering questions like "what safety alerts fired in the last week?" or "how many failed quality checks did device X report yesterday?". Combine ``start_time``/``end_time`` with ``event_types`` for time-bounded reporting, then page with ``cursor``. Returns ``{events, nextCursor, hasMore, lookbackDays}``. ``hasMore`` is true when more pages exist; pass ``nextCursor`` back as ``cursor`` to fetch them. ``lookbackDays`` is the workspace's maximum history window, queries cannot see events older than that regardless of ``start_time``. Each event generally carries ``eventId``, ``eventType``, ``timestamp``, ``eventData`` (type-specific), ``images`` with their detections, and event-level ``customMetadata``. Each image may also carry its own ``metadata``, a flat map of per-image keys (string, number, or boolean values) returned as ``images[].metadata``. Fields such as ``deviceId``, ``streamId``, ``workflowId``, and ``displayImagePosition`` appear only when set on the event. The use case is not echoed back per event because the result is already scoped to the ``use_case_id`` you passed, so don't rely on a ``useCaseId``/``solution`` field being present on each event. To run a search someone saved in the Search tab, pass its id as ``saved_filter_id`` (list them with ``vision_events_saved_filters_list``) instead of filters; only ``limit`` and ``cursor`` can go with it. Saved filters exclude ``operator_feedback`` events, as the Search tab does. To filter on metadata, discover the keys first: ``vision_events_custom_metadata_schema_get`` lists the event-level keys for ``customMetadataFilters`` and ``vision_events_image_metadata_schema_get`` lists the per-image keys for ``imageMetadataFilters``. Pass either list through ``additional_filters``. An ``imageMetadataFilters`` item matches an event when any of its images satisfies it, while ``neq``/``not_in`` match only when none of its images does. To find a known event, pass its ID as ``event_id``. For other Event ID comparisons, pass ``additional_filters={"eventId": {"operator": "in", "value": ["event-1", "event-2"]}}`` (or ``eq``, ``neq``, ``not_in``). Event ID filtering stays within the use case and lookback window and combines with any other supplied filters. For OR conditions, pass ``filterGroup`` through ``additional_filters``. Each leaf combines its own predicates with AND; groups use ``op`` and ``items`` to combine leaves or nested groups. Flat filters are ANDed with the group, and time bounds apply to the whole query.

  • Vision events saved filter create

    Save a named filter for a use case, shared with the whole workspace. Everyone in the workspace sees it in the use case's Search tab. Needs the Create Vision Events permission. A use case holds at most 100 saved filters; a duplicate name or a full use case is refused with a 409. Returns ``{savedFilter}``.

  • Vision events saved filter delete

    Delete a saved filter for everyone in the workspace. Allowed for the person who saved it, or with ``vision-events:manage`` and the Manage Vision Events permission. A plain API key is never the person who saved a filter, so with one this needs ``vision-events:manage``. Events are not affected. Returns ``{success}``.

  • Vision events saved filter get

    Get one saved filter. Returns ``{savedFilter}``.

  • Vision events saved filters list

    List the filters saved for a use case. Saved filters are named Search-tab filter sets, shared with the whole workspace. Run one with ``vision_events_query`` and its ``saved_filter_id``. Returns ``{savedFilters}``, sorted by name. Each carries ``id``, ``name``, ``filters`` (the flat chips, in the shape described on ``vision_events_saved_filter_create``), optional ``group`` (AND/OR chips), ``createdBy`` and ``updatedBy`` (user ids), and ``createdAt``/``updatedAt``.

  • Vision events saved filter update

    Rename a saved filter, replace its flat chips or group, or remove its group. Saving over replaces the filter's chips for everyone in the workspace and needs ``vision-events:write`` with the Create Vision Events permission; it works on any saved filter, and changing someone else's is recorded in the workspace audit log. Renaming needs the person who saved the filter, or ``vision-events:manage`` with the Manage Vision Events permission. A plain API key is never the person who saved a filter, so with one, renaming needs ``vision-events:manage``. Returns ``{savedFilter}``.

  • Vision events use case archive

    Archive a vision-event use case. Sets the use case to ``inactive``: it is hidden from the default ``active`` listing and incoming events for it are rejected at ingestion, so this can disrupt a live pipeline. The use case and its existing events are preserved and it can be restored with ``vision_events_use_case_unarchive``. Returns ``{success}``.

  • Vision events use case create

    Create a new vision-event use case. Use cases are the buckets that incoming events are grouped under. Returns ``{id, name}``; use the returned ``id`` as ``use_case_id`` when querying or ingesting events for this bucket.

  • Vision events use case rename

    Rename an existing vision-event use case. Only the display name changes; the ``id`` and all associated events are preserved. Returns ``{id, name}``.

  • Vision events use cases list

    List the vision-event use cases in the workspace. Use cases are the logical buckets events are grouped under; every query is scoped to one. Call this first to discover the ``id`` values to pass as ``use_case_id`` to ``vision_events_query``. Returns ``{useCases, lookbackDays}``. Each use case reliably carries ``id`` (the value to pass as ``use_case_id`` elsewhere), ``name``, and ``status``; other fields (timestamps, and any per-use-case counts or event-type summaries) may or may not be present depending on the workspace, so treat them as optional rather than guaranteed.

  • Vision events use case unarchive

    Restore a previously archived vision-event use case. The reverse of ``vision_events_use_case_archive``; the use case returns to the default ``active`` listing. Returns ``{success}``.

  • Workflow blocks get schema

    Get the full schema of a specific Workflow block. Returns all properties, required fields, and descriptions for a block identified by its manifest key (as returned by ``workflow_blocks_list``) or by the ``type`` string used in Workflow specifications.

  • Workflow blocks list

    List all available Workflow blocks with a short summary of each. Returns a list of blocks, each with manifest (schema key), type (the identifier used in specifications, e.g. 'roboflow_core/open_ai@v7'), name, block_type, and short_description. Use ``workflow_blocks_get_schema`` to get the full schema of a specific block.

  • Workflow branches list

    List a Workflow's branches and Main head. Use nextCursor for another page.

  • Workflow branch get

    Read a selected branch's current snapshot and save receipt. Pass branchSave as branch_save to workflows_update or workflow_versions_save for an edit based on this snapshot. An archived or merged branch has no save receipt. On a head conflict, reread and reconcile before saving a new edit.

  • Workflow branch merge

    Merge one branch into Main; this does not publish or start a stream. Preview first and use its exact heads. If either head changes, preview again and reconcile before retrying. Conflicts fail without changing Main unless overwrite_main is explicitly requested; it can discard Main's changes. After a successful merge, publishing is a separate action.

  • Workflow branch merge preview

    Preview merging a branch into Main without writing or publishing. The response reports the branch and Main heads, changes, and conflicts. Use these exact heads for a merge based on this preview.

PreviousPage 13 / 18Next