Volver al catálogo

Roboflow MCP

roboflow_mcp

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

Acciones
358
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (358)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Agent chatROBOFLOW_MCP_AGENT_CHATAcción

Ask the Roboflow in-app agent to build or edit a Workflow, or answer a Roboflow question. Use this for ALL natural-language Workflow creation and edits, including simple goals such as "detect cups". The agent uses Roboflow's shared block knowledge, build/edit tools and validator before saving. Send the user's goal, explicit model choices and existing Workflow ID when editing. For camera previews, request class filtering and a named annotated image output. Do not compose the Workflow JSON yourself or fall back to raw workflows_create/workflows_update after an agent error. The agent may ask clarifying questions. Relay them and continue with the returned conversation_id. mode="plan" only plans; mode="agent" builds. A long turn returns status="running" and run_id. Poll agent_chat_result until terminal; never resend the message to start a duplicate build. Find past chats with agent_conversations_list/agent_conversation_get. If the client times out before receiving a run_id, the build may still finish. Recover it from those conversation tools before retrying. In hosts with on-demand tool loading, load a referenced tool before calling it, including agent_chat_result and streams_preview_status. On completion, text is the reply; workflows contains each created/edited Workflow's id, name, url (slug), app_url and exact validated specification. Use app_url for UI links. If workflows is empty, follow the reply instead of claiming a build succeeded. The agent does not run inference. New Workflows are saved and runnable. Edits are saved as drafts. For a live camera, pass the returned id and unchanged specification to streams_preview, with the declared image output and required parameters; read current session status after building. This tests the draft without publishing it. For authorized static draft tests use workflow_specs_run. workflows_run executes the published version by slug; publish an edit with agent_workflow_publish only when the user authorizes publication.

Parámetros de entrada

  • modeany

    Use 'plan' to plan a CV solution end-to-end before building (uses a stronger planning model). Use 'agent' (default) for Roboflow Q&A and Workflow construction or edits.

  • messagestringObligatorio

    Message for the agent (a Roboflow question, a natural-language request to build or edit a Workflow, or a request to plan a CV solution).

  • conversation_idany

    Conversation ID to continue a previous agent chat. Omit to start a new conversation.

Parámetros de salida

Sin parámetros.

Agent chat resultROBOFLOW_MCP_AGENT_CHAT_RESULTAcción

Collect the result of an agent_chat run that was still working. Waits briefly for the run to finish, then returns either the completed chat response (same shape as ``agent_chat``) or ``{"status": "running", "run_id": ...}``. Keep calling with the same ``run_id`` until the status is no longer ``running``. The run keeps executing server-side between calls; polling never restarts or duplicates it. A ``"severed"`` status means the connection to the run was cut mid-flight; the run usually still finishes server-side, so read the reply from the conversation (``agent_conversation_get``) instead of re-sending the message.

Parámetros de entrada

  • run_idstringObligatorio

    Run ID returned by agent_chat when the agent was still working.

Parámetros de salida

Sin parámetros.

Agent conversation getROBOFLOW_MCP_AGENT_CONVERSATION_GETAcción

Get a single agent conversation with its message history. Returns the conversation metadata and the ordered list of the most recent ``message_limit`` messages (role + text parts), plus ``total_messages`` with the full history size. Pass the same ``conversation_id`` back to ``agent_chat`` to continue the conversation.

Parámetros de entrada

  • message_limitinteger

    Maximum number of messages to return, counted from the most recent.

  • conversation_idstringObligatorio

    Conversation ID returned by agent_chat or agent_conversations_list.

Parámetros de salida

Sin parámetros.

Agent conversations listROBOFLOW_MCP_AGENT_CONVERSATIONS_LISTAcción

List Roboflow agent conversations in the workspace. Returns conversation metadata (id, name, source, timestamps, linked workflow ids). Use ``agent_conversation_get`` to load the full message history for a single conversation, or pass the conversation id back to ``agent_chat`` to resume it.

Parámetros de entrada

  • sourceany

    Filter by origin: 'api' for conversations started via the MCP/API, 'web' for the Roboflow UI. Omit for all.

  • workflow_urlany

    Filter to conversations linked to this workflow URL slug.

Parámetros de salida

  • resultobject[]Obligatorio
Agent workflow publishROBOFLOW_MCP_AGENT_WORKFLOW_PUBLISHAcción

Publish the latest agent-edited draft of a workflow. The agent never publishes its edits to an existing workflow; it saves them as a draft. This tool promotes the latest draft to a published version so it goes live for callers using the workflow by id (``workflows_run``). Production device pins can still be staged for approval. Check ``devices_get_config.configProposal`` before claiming those devices use the new version. MCP cannot approve a proposal. Errors with 400 if there is no draft to publish (i.e. the published version already matches the latest draft). Returns ``{ workflowId, workflowUrl, versionId, status }``.

Parámetros de entrada

  • workflow_urlstringObligatorio

    URL slug of the workflow to publish (the 'url' field returned by agent_chat).

Parámetros de salida

Sin parámetros.

Annotation batches admin getROBOFLOW_MCP_ANNOTATION_BATCHES_ADMIN_GETAcción

Get details about one annotation-board batch.

Parámetros de entrada

  • batch_idstringObligatorio

    Batch ID

  • project_idstringObligatorio

    Project slug; 'workspace/project' is also accepted.

Parámetros de salida

Sin parámetros.

Annotation batches admin images listROBOFLOW_MCP_ANNOTATION_BATCHES_ADMIN_IMAGES_LISTAcción

List image IDs in a batch with cursor pagination.

Parámetros de entrada

  • afterany

    Continuation token from the previous page

  • limitinteger

    Maximum image IDs to return, from 1 to 200

  • batch_idstringObligatorio

    Batch ID

  • project_idstringObligatorio

    Project slug; 'workspace/project' is also accepted.

Parámetros de salida

Sin parámetros.

Annotation batches admin listROBOFLOW_MCP_ANNOTATION_BATCHES_ADMIN_LISTAcción

List annotation-board batches with cursor pagination.

Parámetros de entrada

  • afterany

    Continuation token from the previous page

  • limitinteger

    Maximum batches to return, from 1 to 200

  • project_idstringObligatorio

    Project slug; 'workspace/project' is also accepted.

  • show_emptyboolean

    Include batches with no images

Parámetros de salida

Sin parámetros.

Annotation batches createROBOFLOW_MCP_ANNOTATION_BATCHES_CREATEAcción

Move selected images from one batch into a new batch.

Parámetros de entrada

  • nameany

    Optional new batch name

  • image_idsstring[]Obligatorio

    Image IDs to move into the new batch

  • project_idstringObligatorio

    Project slug; 'workspace/project' is also accepted.

  • source_batch_idstringObligatorio

    Batch currently containing the selected images

Parámetros de salida

Sin parámetros.

Annotation batches deleteROBOFLOW_MCP_ANNOTATION_BATCHES_DELETEAcción

Delete a batch. By default its images move to unassigned and remain accessible.

Parámetros de entrada

  • batch_idstringObligatorio

    Batch ID

  • permanentboolean

    Delete image sources instead of moving them to unassigned. Defaults to false.

  • project_idstringObligatorio

    Project slug; 'workspace/project' is also accepted.

Parámetros de salida

Sin parámetros.

Annotation batches getROBOFLOW_MCP_ANNOTATION_BATCHES_GETAcción

Get details about one upload batch.

Parámetros de entrada

  • batch_idstringObligatorio

    Batch ID

  • project_idstringObligatorio

    Project slug; 'workspace/project' is also accepted.

Parámetros de salida

Sin parámetros.

Annotation batches listROBOFLOW_MCP_ANNOTATION_BATCHES_LISTAcción

List upload batches in a project.

Parámetros de entrada

  • project_idstringObligatorio

    Project slug; 'workspace/project' is also accepted.

Parámetros de salida

  • resultobject[]Obligatorio
Annotation batches mergeROBOFLOW_MCP_ANNOTATION_BATCHES_MERGEAcción

Move all images from source batches into a target batch and remove the emptied sources.

Parámetros de entrada

  • project_idstringObligatorio

    Project slug; 'workspace/project' is also accepted.

  • target_batch_idstringObligatorio

    Batch that will receive the images

  • source_batch_idsstring[]Obligatorio

    Batch IDs whose images will move

Parámetros de salida

Sin parámetros.

Annotation board statusROBOFLOW_MCP_ANNOTATION_BOARD_STATUSAcción

Summarize a project's Annotate board: Unassigned, Annotating, Review, and Dataset. Proxies GET /:workspace/:project/annotation-board. Returns column counts and progress, plus per-labeler and per-reviewer rollups. Use annotation_jobs_list and annotation_batches_admin_list when you need more pages of items.

Parámetros de entrada

  • sortstringenum

    Sort Unassigned batches and job columns: newest, oldest, or name.

    newestoldestname
  • limitinteger

    Maximum items to return per board column, from 1 to 200.

  • project_idstringObligatorio

    Project slug; 'workspace/project' is also accepted.

  • include_itemsboolean

    Include per-batch and per-job item arrays. Set false for counts only.

  • labeler_emailany

    Only include jobs assigned to this labeler email. Omit for all.

  • reviewer_emailany

    Only include jobs assigned to this reviewer email. Omit for all.

Parámetros de salida

Sin parámetros.

Annotation editor openROBOFLOW_MCP_ANNOTATION_EDITOR_OPENAcción

Open the Roboflow annotation editor for one image. Use this when a person needs to inspect or edit image annotations visually. Changes are saved only when the person chooses Save in the widget. For usage guidance, read skill://roboflow-apps/annotation-editor/SKILL.md.

Parámetros de entrada

  • image_idstringObligatorio
  • project_idstringObligatorio
  • workspace_idstringObligatorio

Parámetros de salida

Sin parámetros.

Annotation editor readROBOFLOW_MCP_ANNOTATION_EDITOR_READAcción

Reload the editor snapshot and revision after a save or conflict.

Parámetros de entrada

  • image_idstringObligatorio
  • project_idstringObligatorio
  • workspace_idstringObligatorio

Parámetros de salida

Sin parámetros.

Annotation editor saveROBOFLOW_MCP_ANNOTATION_EDITOR_SAVEAcción

Save the user's annotation edits using the loaded group revision. A conflict requires reloading and reconciling edits. Never blindly retry.

Parámetros de entrada

  • groupstringObligatorio
  • is_nullboolean
  • image_idstringObligatorio
  • annotationobjectObligatorio
  • project_idstringObligatorio
  • mutation_idstringObligatorio
  • workspace_idstringObligatorio
  • expected_group_versionintegerObligatorio

Parámetros de salida

Sin parámetros.

Annotation jobs accept into datasetROBOFLOW_MCP_ANNOTATION_JOBS_ACCEPT_INTO_DATASETAcción

Finalize selected job images into the Dataset and assign splits.

Parámetros de entrada

  • job_idstringObligatorio

    Annotation job ID

  • image_idsany

    Optional subset of job image IDs

  • project_idstringObligatorio

    Project slug; 'workspace/project' is also accepted.

  • test_countintegerObligatorio

    Number of accepted images assigned to test

  • train_countintegerObligatorio

    Number of accepted images assigned to train

  • valid_countintegerObligatorio

    Number of accepted images assigned to validation

  • split_methodstringObligatorioenum

    How accepted images are assigned a Dataset split

    presetsplittrainvalidtest
  • statuses_to_includestring[]Obligatorio

    Statuses to accept

Parámetros de salida

Sin parámetros.

Annotation jobs createROBOFLOW_MCP_ANNOTATION_JOBS_CREATEAcción

Create a job and move images from a batch into it.

Parámetros de entrada

  • nameany

    Optional job name

  • batch_idstringObligatorio

    Source batch ID

  • num_imagesany

    Images to move; defaults to the full batch

  • project_idstringObligatorio

    Project slug; 'workspace/project' is also accepted.

  • instructionsany

    Optional labeling instructions

  • labeler_emailstringObligatorio

    Workspace member who will label

  • reviewer_emailstringObligatorio

    Workspace member who will review

Parámetros de salida

Sin parámetros.

Annotation jobs delete annotationsROBOFLOW_MCP_ANNOTATION_JOBS_DELETE_ANNOTATIONSAcción

Delete the project's annotation data for every image assigned to a job.

Parámetros de entrada

  • job_idstringObligatorio

    Annotation job ID

  • project_idstringObligatorio

    Project slug; 'workspace/project' is also accepted.

Parámetros de salida

Sin parámetros.

Annotation jobs getROBOFLOW_MCP_ANNOTATION_JOBS_GETAcción

Get details about one annotation job.

Parámetros de entrada

  • job_idstringObligatorio

    Annotation job ID

  • project_idstringObligatorio

    Project slug; 'workspace/project' is also accepted.

Parámetros de salida

Sin parámetros.

Annotation jobs images addROBOFLOW_MCP_ANNOTATION_JOBS_IMAGES_ADDAcción

Move images into an existing job and reconcile assignment and Dataset counters.

Parámetros de entrada

  • job_idstringObligatorio

    Target annotation job ID

  • image_idsstring[]Obligatorio

    Images to remove from Dataset/batch/job and add

  • project_idstringObligatorio

    Project slug; 'workspace/project' is also accepted.

Parámetros de salida

Sin parámetros.

Annotation jobs images listROBOFLOW_MCP_ANNOTATION_JOBS_IMAGES_LISTAcción

List image IDs assigned to a job with cursor pagination.

Parámetros de entrada

  • afterany

    Continuation token from the previous page

  • limitinteger

    Maximum image IDs to return, from 1 to 200

  • job_idstringObligatorio

    Annotation job ID

  • project_idstringObligatorio

    Project slug; 'workspace/project' is also accepted.

Parámetros de salida

Sin parámetros.

Annotation jobs images reassignROBOFLOW_MCP_ANNOTATION_JOBS_IMAGES_REASSIGNAcción

Create a job from selected images, removing their prior assignment or Dataset membership.

Parámetros de entrada

  • nameany

    Optional new job name

  • image_idsstring[]Obligatorio

    Images to remove from Dataset/batch/job and reassign

  • project_idstringObligatorio

    Project slug; 'workspace/project' is also accepted.

  • instructionsany

    Optional labeling instructions

  • labeler_emailstringObligatorio

    Workspace member who will label

  • reviewer_emailany

    Optional reviewer email

Parámetros de salida

Sin parámetros.

Annotation jobs listROBOFLOW_MCP_ANNOTATION_JOBS_LISTAcción

List annotation jobs and return a continuation token when more exist.

Parámetros de entrada

  • afterany

    Continuation token from the previous page

  • limitinteger

    Maximum jobs to return, from 1 to 200

  • project_idstringObligatorio

    Project slug; 'workspace/project' is also accepted.

  • show_emptyboolean

    Include jobs with no images

Parámetros de salida

Sin parámetros.

Annotation jobs move to unassignedROBOFLOW_MCP_ANNOTATION_JOBS_MOVE_TO_UNASSIGNEDAcción

Remove a job while moving its images to an unassigned batch so they remain accessible.

Parámetros de entrada

  • job_idstringObligatorio

    Annotation job ID

  • project_idstringObligatorio

    Project slug; 'workspace/project' is also accepted.

Parámetros de salida

Sin parámetros.

Annotation jobs return for editsROBOFLOW_MCP_ANNOTATION_JOBS_RETURN_FOR_EDITSAcción

Move a review job back to labeling, optionally with a new labeler.

Parámetros de entrada

  • job_idstringObligatorio

    Annotation job ID

  • project_idstringObligatorio

    Project slug; 'workspace/project' is also accepted.

  • new_labeler_emailany

    Optional replacement labeler

Parámetros de salida

Sin parámetros.

Annotation jobs review imageROBOFLOW_MCP_ANNOTATION_JOBS_REVIEW_IMAGEAcción

Set the explicit review status for one image in a job.

Parámetros de entrada

  • job_idstringObligatorio

    Annotation job ID

  • statusstringObligatorioenum

    New review status

    approvedrejectedannotatedunannotated
  • image_idstringObligatorio

    Image ID in the job

  • project_idstringObligatorio

    Project slug; 'workspace/project' is also accepted.

Parámetros de salida

Sin parámetros.

Annotation jobs review imagesROBOFLOW_MCP_ANNOTATION_JOBS_REVIEW_IMAGESAcción

Set a status for every job image matching the supplied current status.

Parámetros de entrada

  • job_idstringObligatorio

    Annotation job ID

  • statusstringObligatorioenum

    New status

    approvedrejectedannotated
  • project_idstringObligatorio

    Project slug; 'workspace/project' is also accepted.

  • current_statusstringObligatorioenum

    Only images currently in this status

    approvedrejectedannotatedunannotated

Parámetros de salida

Sin parámetros.

Annotation jobs submit for reviewROBOFLOW_MCP_ANNOTATION_JOBS_SUBMIT_FOR_REVIEWAcción

Advance a labeling job into review.

Parámetros de entrada

  • job_idstringObligatorio

    Annotation job ID

  • project_idstringObligatorio

    Project slug; 'workspace/project' is also accepted.

Parámetros de salida

Sin parámetros.

Annotation jobs updateROBOFLOW_MCP_ANNOTATION_JOBS_UPDATEAcción

Update exactly one of a job's labeler, reviewer, or instructions.

Parámetros de entrada

  • job_idstringObligatorio

    Annotation job ID

  • project_idstringObligatorio

    Project slug; 'workspace/project' is also accepted.

  • instructionsany

    Replacement instructions

  • labeler_emailany

    New labeler email

  • reviewer_emailany

    New reviewer email

Parámetros de salida

Sin parámetros.

Annotations getROBOFLOW_MCP_ANNOTATIONS_GETAcción

Read current saved annotation geometry for existing project images. Returns the native annotation envelope (boxes, polygons, masks or keypoints, plus image dimensions), annotation group and revision, project classes and explicit null-label state. Geometry is returned to the assistant, not only a widget. Supports object detection, instance/semantic segmentation and keypoint image projects; classification labels and video segments are not geometry results from this tool. annotation_valid=false means stored data could not be decoded: do not use the empty fallback as a backup or overwrite from it. A null validity means the platform did not report validity, so an empty result alone does not establish that the image has no saved annotation. This reads current project data, including images in annotation jobs and batches; it does not generate a Dataset Version, run inference or change annotations, job status or Dataset membership. Get image IDs with images_search or annotation_jobs_images_list, then read them in batches of at most 25. Use this before correcting labels or when backing up current geometry; search annotation summaries are not coordinates.

Parámetros de entrada

  • image_idsstring[]Obligatorio

    Existing image IDs to read, from 1 to 25 per call. For one image, pass a one-item list.

  • project_idstringObligatorio

    Project slug; 'workspace/project' is also accepted.

Parámetros de salida

Sin parámetros.

Annotations saveROBOFLOW_MCP_ANNOTATIONS_SAVEAcción

Save an annotation for an existing image. The native annotation envelope returned by annotations_get is a read representation, not necessarily an accepted annotation file. Convert the geometry to a supported format for the project's task; do not submit a serialized native boxes envelope as arbitrary JSON. For object detection, a YOLO TXT file has one row per box: class index, normalized center x, center y, width and height. Use a .txt annotation_name and provide labelmap mapping those indices to project class names. By default this only stores the annotation: it does not change whether the image belongs to the project Dataset. Pass add_to_dataset=true to also add the image to the Dataset. That membership is what makes the image count toward a dataset version, so an image that is uploaded and annotated but never added to the Dataset will show up as 0 images in versions_generate. With job_name, saving normally moves the image from its batch or current job to the named job, even if add_to_dataset=false. For an image held by upload screening, the save and placement are deferred until the verdict. When adding to the Dataset without a name, an image outside a job moves from its batch into "Annotated via API"; an image already in a job stays there. Saving without Dataset addition or a job name preserves placement. Saving labels alone also preserves an existing annotation job's image status. After verifying the saved geometry with annotations_get, use annotation_jobs_review_image with status="annotated" when the user wants that image marked labeled in its job. This is separate from accepting images into the Dataset. Set prediction_routing to ``review`` to request an automatic move from the target-project batch into a Review job only when the image has target-project batch membership and no target-project annotation-job membership. Set it to ``unassigned`` to suppress that move and preserve existing batch, annotation-job, and Dataset memberships. Prediction uploads never add Dataset membership, even when add_to_dataset is true, and existing Dataset membership is preserved. Neither value guarantees movement to a named queue. Saving onto an image that already has annotations fails with a 409 conflict unless you pass overwrite=true, which replaces the existing annotation. Classification projects never hit that conflict: their saves already overwrite. If the response has status="screening", the annotation was accepted for an image held by upload screening, but has not been saved to a Source. Even with add_to_dataset=true, Dataset membership is not yet complete. Use images_screening_status(image_id) for the verdict and duplicate resolution. A rejected or failed image loses its deferred annotations; even after approval, check the resulting Source before reporting a save.

Parámetros de entrada

  • image_idstringObligatorio

    ID of the image to annotate

  • job_nameany

    Move the image into this annotation job, creating it if needed. Cannot be combined with prediction_routing.

  • labelmapany

    Label map for Darknet/TXT annotations, e.g. {'0': 'cat', '1': 'dog'}

  • overwriteboolean

    Replace the existing annotation on this image instead of failing. Saving onto an image that already has annotations returns a 409 conflict unless this is true. Classification projects are exempt: their saves always overwrite, so the conflict cannot happen there.

  • project_idstringObligatorio

    Project slug (e.g. 'my-project'); 'workspace/my-project' is also accepted.

  • add_to_datasetboolean

    Also add the image to the project Dataset for training. Prediction uploads never add Dataset membership, but preserve existing Dataset membership.

  • annotation_namestringObligatorio

    Annotation filename with the extension matching its format, e.g. 'image1.txt' for YOLO TXT.

  • annotation_contentstringObligatorio

    Contents of a supported annotation file for this image, not arbitrary JSON. Convert native annotations_get geometry to a supported import format before saving.

  • prediction_routingany

    Treat the upload as a prediction. 'review' requests an automatic move from the target-project batch into a Review job only when the image has target-project batch membership and no target-project annotation-job membership. 'unassigned' suppresses that move and preserves existing batch, annotation-job, and Dataset memberships. Prediction uploads never add Dataset membership, and existing Dataset membership is preserved. Neither value guarantees movement to a named queue.

Parámetros de salida

Sin parámetros.

Api keys createROBOFLOW_MCP_API_KEYS_CREATEAcción

Create a new API key for the workspace. Who can create keys: a credential may create keys only if it is unscoped (full access) or holds the ``api-key:create`` scope; an OAuth token also needs the ``create_api_key`` permission. Always ask for least-privilege ``scopes`` first. When ``scopes`` is omitted the key inherits every scope of the calling credential, so a full-access caller creates a full-access key (it comes back with ``scopes: null``); the dashboard's scoped default does not apply here. Scoped keys, like ``folder_ids``, ``custom_metadata``, ``rotation_due_at`` and ``owners``, need the Advanced API Keys plan feature. Without it the platform answers 403 and this tool says which arguments need it. That is a plan limit, not a permissions problem: tell the user, and do not silently retry without ``scopes``. The only key such a plan can create is unscoped, so create one only after the user agrees to a key with all of the caller's access (and suggest revoking it with ``api_keys_revoke`` once the task is done). For browser or client-side inference, the publishable key from ``api_keys_get_publishable`` may be enough and needs no secret. Scopes are stored as explicit leaf scopes — a section name or ``role:`` preset is expanded to its current leaves, so a key never auto-gains an ability added to that group later (add new scopes explicitly when needed). The secret ``key`` value is returned ONCE in the response and cannot be retrieved again. Store it immediately in a ``.gitignore``'d ``.env`` file (e.g. ``ROBOFLOW_API_KEY=rf_...``). Never echo it in logs, code comments, or tool output. Rotation reminders: set ``rotation_due_at`` to have the platform email the key's ``owners`` 15 days before the key is due; without a date no reminder is sent. Returns ``{ key_id, key, name, scopes, folder_ids, protected, rotation_due_at, owners, publishable_key }``. ``key_id`` is the non-secret handle used in all subsequent management calls.

Parámetros de entrada

  • namestringObligatorio

    Human-readable label for the key

  • ownersany

    Member uids who receive the rotation reminder for this key. Each must be able to roll the key; api_keys_owner_candidates lists who qualifies, and the platform rejects anyone else. An empty list means everyone who can roll it. Requires the Advanced API Keys plan feature. Omitted, an OAuth-connected user becomes the owner when they can roll the key; a key-authenticated create stores none.

  • scopesany

    Least-privilege scopes for the key: leaf scopes (e.g. ['model:infer'] to run models, ['workflow:read', 'model:infer'] to run a Workflow, ['version:read'] to download weights), a section name ('model' = every model scope), or a role preset 'role:<name>' (labeler, reviewer, owner or a custom role; role:owner = full access). The item examples list every known leaf scope and section. Scoped keys require the Advanced API Keys plan feature. Omitted, the key inherits every scope of the calling credential.

  • protectedboolean

    If true, the key cannot be revoked or disabled until it is unprotected in the Roboflow dashboard at app.roboflow.com/settings/api (the API/CLI/MCP cannot unprotect it).

  • folder_idsany

    Folder IDs this key may access. Requires the Advanced API Keys plan feature.

  • custom_metadataany

    Arbitrary string key/value metadata to attach to the key. Requires the Advanced API Keys plan feature.

  • rotation_due_atany

    The date the key is due to be rotated (ISO date or date-time, read as UTC). Setting it opts the key into the platform's rotation reminder email, sent to its owners 15 days before. Must be in the future. Requires the Advanced API Keys plan feature.

Parámetros de salida

Sin parámetros.

Api keys disableROBOFLOW_MCP_API_KEYS_DISABLEAcción

Disable (or re-enable) an API key without revoking it. A disabled key is inactive and will be rejected by the platform until re-enabled. Protected keys cannot be disabled; disabling requires the Advanced API Keys plan feature, so the specific error returned depends on the workspace. A key that backs a dedicated deployment cannot be disabled from here either (the deployment would be paused): to rotate such a key use ``api_keys_roll``, which moves the deployment onto the replacement key. Returns the updated masked key metadata.

Parámetros de entrada

  • key_idstringObligatorio

    The keyId of the key to enable or disable

  • disabledboolean

    True to disable the key; False to re-enable it

Parámetros de salida

Sin parámetros.

Api keys getROBOFLOW_MCP_API_KEYS_GETAcción

Get metadata for a single API key by its keyId. Secret values are never returned. The key is identified by its non-secret ``keyId`` handle (not the secret key string).

Parámetros de entrada

  • key_idstringObligatorio

    The keyId of the API key to retrieve

Parámetros de salida

Sin parámetros.

Api keys get publishableROBOFLOW_MCP_API_KEYS_GET_PUBLISHABLEAcción

Get the workspace's publishable key (``rf_<workspaceId>``). The publishable key is the non-secret workspace identifier used with Roboflow.js and browser-side inference SDKs. It is browser-safe and cannot manage workspace data or read private resources. It is not a true secret, but it is not powerless: anyone who holds it can run inference and download the workspace's deployed models. Embed it in client-side code as intended; do not treat it as a capability to hand to untrusted parties.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

Api keys listROBOFLOW_MCP_API_KEYS_LISTAcción

List all API keys for the workspace. Secret key values are never returned — keys are represented by their non-secret ``keyId`` handle and a masked ``prefix``. Returns ``{ api_keys, publishable_key }`` where ``publishable_key`` is the workspace's ``rf_<workspaceId>`` key (safe to embed in client-side code).

Parámetros de entrada

  • include_foldersboolean

    Include folder details on each key

  • include_disabledboolean

    Include disabled keys in the response

Parámetros de salida

Sin parámetros.

Api keys owner candidatesROBOFLOW_MCP_API_KEYS_OWNER_CANDIDATESAcción

List the workspace members who may be named as a key's ``owners``. Owners receive the rotation reminder email, so they must be able to roll the key: for a workspace-wide key, members who can create and revoke keys and view the workspace key list; for a folder key, members who can also write every folder it is scoped to. Each must have an account email the platform can send to. Call this before passing ``owners`` to ``api_keys_create``, ``api_keys_update`` or ``api_keys_roll``; the platform rejects uids that are not listed here. Pass ``key_id`` for an existing key, or ``folder_ids`` for one about to be created (omit both for a workspace-wide key). The platform accepts either the ``api-key:create`` or the ``api-key:update`` scope, and the workspace needs the Advanced API Keys plan feature. Returns ``{ members: [{uid, name, email}, ...] }``.

Parámetros de entrada

  • key_idany

    The keyId of an existing key. Omit to ask about a key you are about to create.

  • folder_idsany

    Folder IDs the key you are about to create will be scoped to; omit for a workspace-wide key. Not together with key_id.

Parámetros de salida

Sin parámetros.

Api keys protectROBOFLOW_MCP_API_KEYS_PROTECTAcción

Mark an API key as protected so it cannot be revoked or disabled. Protection is one-way from the API: a protected key can only be unprotected in the Roboflow dashboard at ``app.roboflow.com/settings/api``. The API, CLI, and MCP cannot unprotect a key, so there is deliberately no ``api_keys_unprotect`` tool. Returns the updated masked key metadata.

Parámetros de entrada

  • key_idstringObligatorio

    The keyId of the key to protect

Parámetros de salida

Sin parámetros.

Api keys revokeROBOFLOW_MCP_API_KEYS_REVOKEAcción

Permanently revoke (delete) an API key. Revocation is irreversible — the key can never be recovered or re-enabled. Protected keys cannot be revoked; an admin must first unprotect the key in the Roboflow dashboard at ``app.roboflow.com/settings/api``. A key that backs a dedicated deployment cannot be revoked from here either (the deployment would be paused): to rotate such a key — for example after a leak — use ``api_keys_roll``, which moves the deployment onto the replacement key. Returns ``{ status, key_id }``.

Parámetros de entrada

  • key_idstringObligatorio

    The keyId of the key to permanently revoke

Parámetros de salida

Sin parámetros.

Api keys rollROBOFLOW_MCP_API_KEYS_ROLLAcción

Roll (rotate) an API key: revoke it and mint a replacement in one step. This is the rotation path for a leaked or compromised key. The replacement keeps the old key's whole identity — name, scopes, folders, protection and disabled state — so nothing the key was allowed to do changes; only the secret does. Any dedicated deployment anchored on the old key is moved onto the replacement automatically, which is why roll is allowed where ``api_keys_disable`` and ``api_keys_revoke`` refuse. The old secret stops working immediately and its ``key_id`` is retired; the roll cannot be undone. Protected keys cannot be rolled (unprotect in the dashboard first), and a disabled key that backs a dedicated deployment must be re-enabled before it can be rolled. The new secret ``key`` is returned ONCE and cannot be retrieved again. Store it immediately in a ``.gitignore``'d ``.env`` file and update every consumer of the old key; never echo it in logs or tool output. The replacement stays on the old key's rotation schedule (due date shifted by the old key's interval, same owners) unless ``rotation_due_at`` or ``owners`` sets it. Returns ``{ key_id, key, name, scopes, folder_ids, protected, disabled, rotation_due_at, owners, revoked_key_id }``. ``key_id`` is the new key's non-secret handle; ``revoked_key_id`` is the handle that was rolled.

Parámetros de entrada

  • key_idstringObligatorio

    The keyId of the key to roll (rotate)

  • ownersany

    Member uids who receive the rotation reminder for this key. Each must be able to roll the key; api_keys_owner_candidates lists who qualifies, and the platform rejects anyone else. An empty list means everyone who can roll it. Requires the Advanced API Keys plan feature. Omit to keep the old key's owners.

  • rotation_due_atany

    The replacement's rotation due date (ISO date or date-time, UTC, in the future). Omit to keep the old key's schedule, shifted forward by its own interval. Requires the Advanced API Keys plan feature.

Parámetros de salida

Sin parámetros.

Api keys updateROBOFLOW_MCP_API_KEYS_UPDATEAcción

Update the name, scopes, custom_metadata or rotation schedule of an API key. Only fields you provide are sent; omitted fields are left unchanged. Omitting ``name`` leaves the name unchanged; omitting ``custom_metadata`` leaves the metadata unchanged. Omitting ``scopes`` leaves the key's scopes unchanged, while passing a list replaces them entirely (including ``role:<name>`` presets). To widen a scoped key back to full access, pass ``["role:owner"]`` (subject to the usual subset rules and the Advanced API Keys feature). ``rotation_due_at`` sets the date the platform reminds the ``owners`` about, 15 days ahead; an empty string clears it. ``owners`` replaces the list with members who can roll the key (see ``api_keys_owner_candidates``). To protect or disable a key use ``api_keys_protect`` or ``api_keys_disable``. Protection cannot be changed here (unprotecting is dashboard-only). Returns the updated masked key metadata.

Parámetros de entrada

  • nameany

    New human-readable label for the key

  • key_idstringObligatorio

    The keyId of the key to update

  • ownersany

    Member uids who receive the rotation reminder for this key. Each must be able to roll the key; api_keys_owner_candidates lists who qualifies, and the platform rejects anyone else. An empty list means everyone who can roll it. Requires the Advanced API Keys plan feature. Replaces the list.

  • scopesany

    Replacement scope list (leaf scopes, a section name, or 'role:<name>' presets). Use 'role:owner' to widen the key back to full access. Requires the Advanced API Keys plan feature.

  • protectedany

    Not settable here. Use api_keys_protect to protect a key; unprotecting is dashboard-only and cannot be done via the API/MCP. Passing this returns guidance.

  • custom_metadataany

    Replacement custom metadata. Requires the Advanced API Keys plan feature.

  • rotation_due_atany

    The date the key is due to be rotated (ISO date or date-time, read as UTC). Setting it opts the key into the platform's rotation reminder email, sent to its owners 15 days before. Must be in the future. Requires the Advanced API Keys plan feature. Pass an empty string to clear it and take the key off the reminder schedule.

Parámetros de salida

Sin parámetros.

Ask feedbackROBOFLOW_MCP_ASK_FEEDBACKAcción

Offer the user a short Yes/No survey about their Roboflow MCP experience. Call once on the first Roboflow turn, before other Roboflow tools. For ask_in_chat, ask the returned question verbatim. Continue helping even if the user does not answer. Use meta_survey_opt_out if the user asks to stop receiving the survey.

Parámetros de entrada

  • questionstring

Parámetros de salida

Sin parámetros.

Async tasks getROBOFLOW_MCP_ASYNC_TASKS_GETAcción

Poll an async task by id. Poll every 5 seconds; processing may take up to 30 seconds to start. Returns `{ taskId, status, progress, result?, error? }`. `status` is one of `created`, `running`, `completed`, `failed`.

Parámetros de entrada

  • task_idstringObligatorio

    Task ID returned by an async-enqueueing tool, e.g. projects_fork

Parámetros de salida

Sin parámetros.

Autolabel job getROBOFLOW_MCP_AUTOLABEL_JOB_GETAcción

Get per-subjob status and progress for an auto-label job. Returns status, model/project type, image counts, subjob progress, ontology, confidence thresholds, and the linked annotation job id. Status moves from pending to processing_completion to done; the annotation job then waits in review. Video jobs (modelType 'video-segment') count videos in numImages and add mediaType 'video', classes, sampling (sampleFps, windowSeconds, overlapSeconds), framesPlanned, framesSampled, and per-video progress in videos: {videoId: {status, windows, framesSeen, segments, windowsFailed, unanalysedIntervals, preserved, truncated, error}}. A done video with windowsFailed > 0, non-empty unanalysedIntervals, or truncated: true is only partly labeled, and preserved: true means its frame annotations were kept and no segments were written; report those. segments is the number of segments written. A video job still ends done when videos fail, so check each video's status (pending, done or failed).

Parámetros de entrada

  • autolabel_job_idstringObligatorio

    Auto-label job ID returned from autolabel_start

Parámetros de salida

Sin parámetros.

Autolabel models listROBOFLOW_MCP_AUTOLABEL_MODELS_LISTAcción

List the foundation models available for hosted auto-labeling in this workspace. Returns ``{models: [...]}``. Each entry's ``id`` (e.g. ``gpt-6-astra-boxes``, ``sam3-rle``, ``gemini-3-8-flash-boxes``) is a valid ``model`` value for ``autolabel_start`` with ``model_type='foundational'``. Entries carry ``guidance`` on when to prefer each model, ``projectTypes`` / ``excludedProjectTypes`` they support, ``ontologyFormat`` (``promptMap``: prompts are sent to the model; ``classes``: only class names are used), ``creditsPerImage``, ``isDefault`` (the workspace's object-detection default, not the instance-segmentation default), and ``available`` with an ``unavailableReason`` when the workspace's plan blocks a model. Call this before ``autolabel_start`` to pick a model instead of assuming which ones exist. When the user has not chosen a model, follow up with ``autolabel_preview`` to compare the candidates on one sample image before committing to a job. This is the image catalog. Action Recognition (video) projects use one model that is not listed here: call ``autolabel_start`` with ``model='video-segment'`` and ``model_type='foundational'``.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

Autolabel previewROBOFLOW_MCP_AUTOLABEL_PREVIEWAcción

Preview one image with a foundation model to judge it before starting an auto-label job. Image projects only: Action Recognition (video) projects have no preview. Previews are for comparing candidate models on a few sample images. They create no job and spend no credits, but they are rate limited per workspace (the limit is shared with the Roboflow app), and past the limit the call fails with a 429 that says when to try again. Labeling a batch must go through autolabel_start: do not preview images one at a time and keep the predictions as labels. Use this as the model-selection loop when the user has not picked a model: 1. Call autolabel_models_list and order the candidates (the default first, then whatever the guidance recommends for the ontology at hand). 2. Pick one representative image from the batch (e.g. from the batch or image listing tools) and preview it with the first candidate. 3. Judge the summary: entries in classesWithNoDetections, a suspiciously low totalDetections, or blockErrors mean the model likely will not label this data well. Preview the next candidate and compare. 4. Start the real job with the winner via autolabel_start, using the same ontology. Returns ``{model, summary, predictions, blockErrors?}``; summary.byClass carries per-class counts and max confidence, and predictions are trimmed to class, confidence, and box geometry (polygon and mask geometry is dropped to keep responses small).

Parámetros de entrada

  • imagestringObligatorio

    Sample image as an HTTPS URL or base64-encoded string.

  • modelstringObligatorio

    Foundation model id from autolabel_models_list (e.g. 'gpt-6-astra-boxes', 'sam3-rle', 'gemini-3-8-flash-boxes').

  • ontologyany

    Classes to label, keyed by PROMPT not by class: {'text prompt': 'class name'}, e.g. {'a cat': 'cat', 'a dog': 'dog'}. That direction lets several prompts collapse onto one output class, e.g. {'kitten': 'cat', 'tabby': 'cat'} labels both as cat. A plain list of class names prompts each class with its own name. When omitted, the dataset's own classes are used.

  • project_idstringObligatorio

    Project slug (e.g. 'my-project'); 'workspace/my-project' is also accepted.

  • confidence_thresholdany

    Detection threshold between 0.0 and 1.0 (sam3 only; gpt-6-astra and gemini report fixed confidence).

Parámetros de salida

Sin parámetros.

Autolabel startROBOFLOW_MCP_AUTOLABEL_STARTAcción

Start a hosted auto-label job over a batch of images, or of videos for Action Recognition. For image projects, call ``autolabel_models_list`` first to pick a foundation model; its entry ids (e.g. 'gemini-4-carbon-boxes') are valid ``model`` values. Use the API's model list and project type to select a candidate. If the user has not chosen a model, run ``autolabel_preview`` on a sample image per candidate and start the job with the best one. Returns ``{jobId, annotationJobId, message}``. Poll progress with ``autolabel_job_get`` using the returned ``jobId``. Action Recognition projects skip the model list and preview. They label every video in the batch (at most 50 videos, each at most 30 minutes) with ``model='video-segment'`` and ``model_type='foundational'``, e.g. ``ontology={'a person jumps': 'jump'}`` and ``model_options={'sampleFps': 4}``. Only ontology, model_options, reviewer_email and business_context apply. The job replaces each video's existing segments, but a video that has frame annotations keeps them and gets no segments.

Parámetros de entrada

  • modelstringObligatorio

    Model identifier. For model_type='foundational', a model id from autolabel_models_list (e.g. 'gpt-6-astra-boxes', 'sam3-rle', 'sam3-polygon', 'gemini-3-8-flash-boxes'; the bare 'sam3' also works), or 'video-segment' for an Action Recognition project. For model_type='roboflow', a Roboflow model id like 'project-slug/version' or 'workspace-slug/model-id'.

  • run_nmsany

    Image projects only. Whether to run non-max suppression (default True server-side).

  • batch_idstringObligatorio

    Source batch ID containing the images (or, for Action Recognition, the videos) to auto-label.

  • ontologyany

    Classes to label, keyed by PROMPT not by class: {'text prompt': 'class name'}, e.g. {'a cat': 'cat', 'a dog': 'dog'}. That direction lets several prompts collapse onto one output class, e.g. {'kitten': 'cat', 'tabby': 'cat'} labels both as cat. A plain list of class names prompts each class with its own name. Same shapes autolabel_preview takes, so a previewed ontology can be passed straight through. For models with ontologyFormat='promptMap' (sam3: bare nouns, max 50 classes) the prompts are sent to the model; for ontologyFormat='classes' (gpt-6-astra-boxes, gemini-3-8-flash-boxes) only the class names are used. When omitted for foundational models, the dataset's own classes are used. Optional for model_type='roboflow' too, where the trained model's classes are the fallback. For 'video-segment', the key describes the action, each class takes one description and must already exist in the project, and a class named by itself uses its saved project description.

  • model_typestringObligatorioenum

    How to interpret `model`. 'foundational' uses a hosted foundation model (sent as-is; the backend resolves catalog ids like 'gpt-6-astra-boxes' to their execution path). 'roboflow' uses a Roboflow-trained model and is sent as 'custom_roboflow' with the id passed in modelOptions.modelId.

    foundationalroboflow
  • project_idstringObligatorio

    Project slug (e.g. 'my-project'); 'workspace/my-project' is also accepted.

  • model_optionsany

    Model-specific options, e.g. {'outputFormat': 'polygon'} or {'outputFormat': 'rle'} for segmentation output shape. For 'video-segment', only {'sampleFps': n}: frames per second the model sees, 0.5 to 12, default 8.

  • reviewer_emailany

    Email of the reviewer for the resulting annotation job. Must be a workspace member. Defaults to the workspace owner, or for an Action Recognition job started with OAuth, to the signed-in user.

  • business_contextany

    Brief description of the business problem this labeling job addresses, if the user has shared one.

  • default_confidenceany

    Image projects only. Confidence threshold applied to every ontology class (mirrors the UI slider). The backend fans this out across the ontology when confidence_thresholds is omitted.

  • num_images_to_labelany

    Image projects only. Number of images from the batch to auto-label. Defaults to the entire batch.

  • existing_annotationsany

    Image projects only. What to do with annotations already on the batch images. 'replace' (the default) removes them. 'preserve' keeps them and adds every prediction. 'merge' keeps them and adds only the predictions that don't overlap an existing annotation of the same class (IoU of at least 0.5), so objects that are already labeled aren't duplicated. Use 'merge' when the batch has images that were already labeled or reviewed.

  • confidence_thresholdsany

    Image projects only. Per-class confidence threshold override, e.g. {'cat': 0.5, 'dog': 0.6}. Takes precedence over default_confidence.

  • keypoint_confidence_thresholdany

    Keypoint-detection projects only (labeled with a trained keypoint model, model_type='roboflow'): minimum confidence from 0.0 to 1.0 for each predicted keypoint. A skeleton point below it is saved as not visible. Defaults to 0.6 server-side. default_confidence and confidence_thresholds still decide which instances are kept.

Parámetros de salida

Sin parámetros.

Batch processing asset library job createROBOFLOW_MCP_BATCH_PROCESSING_ASSET_LIBRARY_JOB_CREATEAcción

Queue a durable Workflow run over an Asset Library selection. The platform owns selection authorization, entitlement and billing, workflow compatibility, staging, and job registration: it stages your selection into a Data Staging batch for you (for files you stage yourself, use ``batch_processing_run`` or ``batch_processing_staged_job_start``). The response is a 202 receipt: poll ``batch_processing_asset_library_task_get`` with its taskId until terminal, then use ``batch_processing_job_get`` with jobId.

Parámetros de entrada

  • queryany

    Reviewed Asset Library RoboQL query. Use exactly one selection input.

  • image_idsany

    Exact Asset Library image IDs. Use exactly one selection input.

  • all_imagesboolean

    Set true to explicitly select every accessible Asset Library image.

  • workflow_idstringObligatorio

    Published Workflow URL slug or ID.

  • display_nameany

    Optional human-readable job name, up to 200 characters.

  • machine_typestringenum

    Compute type; CPU is the product default.

    cpugpu
  • idempotency_keystringObligatorio

    Stable request key, 8-128 characters. Reuse it only when retrying the same logical launch.

Parámetros de salida

Sin parámetros.

Batch processing asset library task getROBOFLOW_MCP_BATCH_PROCESSING_ASSET_LIBRARY_TASK_GETAcción

Poll the launch receipt until its durable job is registered.

Parámetros de entrada

  • task_idstringObligatorio

    Task id returned by batch_processing_asset_library_job_create.

Parámetros de salida

Sin parámetros.

Batch processing guideROBOFLOW_MCP_BATCH_PROCESSING_GUIDEAcción

Route a bulk image/video processing request onto batch processing: pick the staging mode, settle the batch id, and return the exact inference-cli commands for the whole run. Every batch processing job runs a Workflow over a Data Staging batch; the input paths differ only in who fills it. Files already in Roboflow (Asset Library): batch_processing_asset_library_job_create, and the platform selects and stages them for you. External files (local disk, cloud bucket, references file) when you only want the outputs: stage them with the inference-cli and drive the run with batch_processing_run (nothing is imported; the classic ETL shape). External files you want INSIDE Roboflow for labeling/training/curation: that is an import, not a job; mirror them with a datasource (bucket mirror, connect_cloud_storage), then run an Asset Library job over the imported images if you also want bulk predictions (the classic ELT shape). An On Sync automation can also run a Workflow after the mirror; with upload screening it waits for eligible new-image verdicts and search indexing, skips waiting for held overwrites, and can fail when no images are admitted. Mirror completion alone does not make held images available as Sources. Staging uploads are client-side: this MCP server cannot read the user's filesystem or cloud credentials, so files are staged with the inference-cli on the user's machine (pip install inference-cli). Call this with whatever you already know (local dir, bucket path, workflow, images vs videos); it returns the install line and the ordered stage/inspect/process/monitor/export commands. Read the skill://roboflow/roboflow-batch-processing/SKILL.md resource for the full recipe, and prefer batch_processing_run to drive the run server-side once files are staged. Requires the batch-processing feature on the workspace.

Parámetros de entrada

  • batch_idany

    Staging batch id to use (lowercase letters, digits, '-' or '_'). Optional.

  • images_dirany

    Local directory of images to process. Optional.

  • videos_dirany

    Local directory of videos to process. Optional.

  • bucket_pathany

    Cloud storage path/glob, e.g. 's3://bucket/imgs/**/*.jpg', 'gs://bucket/videos/'. Works for images and videos. Optional.

  • workflow_idany

    Workflow to run over the batch (must exist in the workspace). Optional.

  • content_typestringenum

    What the files are. Inferred from images_dir/videos_dir when given.

    imagesvideos
  • references_fileany

    Path to a JSONL references file of {name, url} HTTPS entries. Optional.

Parámetros de salida

Sin parámetros.

Batch processing job abortROBOFLOW_MCP_BATCH_PROCESSING_JOB_ABORTAcción

Abort a running batch processing job. Already-produced partial results stay available in the job's staging batches.

Parámetros de entrada

  • job_idstringObligatorio

    Batch processing job id

Parámetros de salida

Sin parámetros.

Batch processing job getROBOFLOW_MCP_BATCH_PROCESSING_JOB_GETAcción

Get a job's status and per-stage progress. Poll this to track a running job: ``job.isTerminal`` says whether it finished and ``job.error`` whether it failed; ``stages`` carries per-stage progress and ``outputBatches``. When the export stage completes, download results from the ``<job-id>-export`` staging batch via ``batch_processing_staging_batch_files_list``.

Parámetros de entrada

  • job_idstringObligatorio

    Batch processing job id

Parámetros de salida

Sin parámetros.

Batch processing job logsROBOFLOW_MCP_BATCH_PROCESSING_JOB_LOGSAcción

Fetch a job's processing logs (paginated). Use this to diagnose failed or slow jobs; pair with batch_processing_job_get for stage status.

Parámetros de entrada

  • job_idstringObligatorio

    Batch processing job id

  • next_page_tokenany

    Continuation token from a previous call.

Parámetros de salida

Sin parámetros.

Batch processing job restartROBOFLOW_MCP_BATCH_PROCESSING_JOB_RESTARTAcción

Restart a failed or aborted job, optionally overriding compute parameters. Consumes credits like a fresh run.

Parámetros de entrada

  • job_idstringObligatorio

    Batch processing job id

  • machine_typeany

    Override the compute type (e.g. move to gpu after an OOM or timeout).

  • max_parallel_tasksany

    Override max concurrent tasks.

  • max_runtime_secondsany

    Override the processing timeout, between 600 and 43200 seconds (a restart caps lower than the original job).

  • workers_per_machineany

    Override parallel workers per machine (1, 2, 4 or 8).

  • max_image_failure_rateany

    Images only: override the tolerated failure rate (0.0-1.0).

Parámetros de salida

Sin parámetros.

Batch processing jobs listROBOFLOW_MCP_BATCH_PROCESSING_JOBS_LISTAcción

List the workspace's batch processing jobs. Returns ``{jobs, nextPageToken?}`` with each job's full definition omitted (use ``batch_processing_job_get`` for one job's detail). Each entry carries ``inputSource``: 'asset-library' (platform-staged selection) or 'staged-batch' (a batch the caller staged).

Parámetros de entrada

  • searchany

    Optional name, Workflow or notification search (max 160 chars).

  • page_sizeany

    Jobs per page (server default 10, max 100).

  • next_page_tokenany

    Continuation token from a previous call.

Parámetros de salida

Sin parámetros.

Batch processing runROBOFLOW_MCP_BATCH_PROCESSING_RUNAcción

Master tool: drive a batch processing run over a staging batch you name (stage -> ingest -> job -> results) through repeated resumable calls. For Asset Library selections, use batch_processing_asset_library_job_create instead. Every batch processing job runs a Workflow over a Data Staging batch; the input paths differ only in who fills it. Files already in Roboflow (Asset Library): batch_processing_asset_library_job_create, and the platform selects and stages them for you. External files (local disk, cloud bucket, references file) when you only want the outputs: stage them with the inference-cli and drive the run with batch_processing_run (nothing is imported; the classic ETL shape). External files you want INSIDE Roboflow for labeling/training/curation: that is an import, not a job; mirror them with a datasource (bucket mirror, connect_cloud_storage), then run an Asset Library job over the imported images if you also want bulk predictions (the classic ELT shape). An On Sync automation can also run a Workflow after the mirror; with upload screening it waits for eligible new-image verdicts and search indexing, skips waiting for held overwrites, and can fail when no images are admitted. Mirror completion alone does not make held images available as Sources. Each call reads current state, advances what it can, and returns immediately: 'staging_required' (batch missing; response contains the inference-cli commands to run), 'ingest_in_progress', 'ingest_failed', 'running' (job started or working; includes stage progress), 'completed' (includes result files with download URLs), or 'failed' (includes logs). This server never sleeps on your behalf; non-terminal responses carry retryAfterSeconds, so wait that long and call again with the returned job_id to resume; omit optional creation settings and the stored paid-job definition remains authoritative. The job is started under an id derived from (workspace, batch, workflow), so retrying after a lost response re-registers the same job rather than starting a second one. Starting the job consumes credits. For the advanced knobs (max_runtime_seconds, max_parallel_tasks, max_image_failure_rate, image_outputs_to_save) use batch_processing_staged_job_start instead.

Parámetros de entrada

  • job_idany

    Pass back the job_id from a previous call to resume monitoring. Omit on the first call; the job is started once ingest is ready under an id derived from (workspace, batch, workflow), so retrying after a lost response is safe. Passing an id that does not exist yet starts a distinct re-run of the same batch and workflow under that id, after the same ingest checks.

  • batch_idstringObligatorio

    Staging batch id (lowercase letters, digits, '-' or '_').

  • part_nameany

    Required when the input is a multipart staging batch.

  • workflow_idstringObligatorio

    Workflow to run; must already exist in the workspace (workflows_list).

  • content_typeany

    What the batch contains. Defaults to images for a new run; omit when resuming to use the stored job definition.

  • machine_typeany

    Compute type for the workers (default cpu). Unsure? Test-run the Workflow on one image first (workflows_run; time the second call) and inspect its spec (workflows_get): one small fine-tuned model -> cpu; several chained models, large foundation models (SAM/CLIP/OCR/VLM blocks), or a test run slower than ~1s of model time -> gpu.

  • max_video_fpsany

    Videos only: subsample predictions to at most this FPS.

  • image_input_nameany

    Name of the Workflow's image input placeholder.

  • inference_backendany

    Execution backend. Defaults to the current product backend for a new run; omit when resuming to use the stored backend.

  • aggregation_formatany

    Format of the aggregated results file.

  • save_image_outputsany

    Persist the Workflow's image outputs (crops/visualizations). Defaults to false for a new run; omit when resuming.

  • workers_per_machineany

    Parallel workers per machine (1, 2, 4 or 8).

  • workflow_parametersany

    Extra Workflow input parameters (non-image inputs).

Parámetros de salida

Sin parámetros.

Batch processing staged job startROBOFLOW_MCP_BATCH_PROCESSING_STAGED_JOB_STARTAcción

Start a batch processing job: run a Workflow over a staged batch. This launches asynchronous compute and consumes credits. The batch must be staged first (see ``batch_processing_guide``) and fully ingested (``batch_processing_staging_batch_get``). Returns ``{jobId, ...}``; poll ``batch_processing_job_get`` and fetch results from the ``<job-id>-export`` staging batch when it finishes. Re-running with the same job_id and identical settings is idempotent; a divergent definition is rejected (409).

Parámetros de entrada

  • job_idstringObligatorio

    Stable job id (lowercase letters, digits, '-', max 20 chars). Reuse it when retrying the same request.

  • batch_idstringObligatorio

    Staging batch to process (must be fully ingested).

  • job_nameany

    Human-readable job name.

  • part_nameany

    Multipart batches only: which part to process.

  • workflow_idstringObligatorio

    Workflow to run; must already exist in the workspace (workflows_list).

  • content_typestringenum

    What the staged batch contains.

    imagesvideos
  • machine_typeany

    Compute type for the workers (default cpu). Unsure? Test-run the Workflow on one image first (workflows_run; time the second call) and inspect its spec (workflows_get): one small fine-tuned model -> cpu; several chained models, large foundation models (SAM/CLIP/OCR/VLM blocks), or a test run slower than ~1s of model time -> gpu.

  • max_video_fpsany

    Videos only: subsample predictions to at most this FPS (minimum 1).

  • image_input_nameany

    Name of the Workflow's image input placeholder.

  • inference_backendstringenum

    Execution backend. Defaults to the current product backend; use old-inference only for a known compatibility requirement.

    inference-modelsold-inference
  • notifications_urlany

    Your own webhook URL, notified when the job succeeds or fails. The platform POSTs the job notification there; this server does not receive or relay webhooks.

  • aggregation_formatany

    Format of the aggregated results file.

  • max_parallel_tasksany

    Max concurrent tasks.

  • save_image_outputsboolean

    Persist the Workflow's image outputs (crops/visualizations).

  • max_runtime_secondsany

    Processing timeout, between 600 and 172800 seconds.

  • workers_per_machineany

    Parallel workers per machine (1, 2, 4 or 8). More workers = better utilization but a higher OOM risk.

  • workflow_parametersany

    Extra Workflow input parameters (non-image inputs).

  • image_outputs_to_saveany

    Only persist these image outputs (default: all).

  • max_image_failure_rateany

    Images only: abort when the failure rate exceeds this (0.0-1.0).

Parámetros de salida

Sin parámetros.

Batch processing staging batches listROBOFLOW_MCP_BATCH_PROCESSING_STAGING_BATCHES_LISTAcción

List the workspace's data-staging batches (inputs and job results). Returns ``{batches, nextPageToken?}``. Batches expire about 7 days after creation. Job results appear as platform-generated batches named ``<job-id>-processing`` and ``<job-id>-export``.

Parámetros de entrada

  • page_sizeany

    Batches per page (server default 10).

  • next_page_tokenany

    Continuation token from a previous call.

Parámetros de salida

Sin parámetros.

Batch processing staging batch files listROBOFLOW_MCP_BATCH_PROCESSING_STAGING_BATCH_FILES_LISTAcción

List a staged batch's files with time-limited signed download URLs. Use this to download the results of a finished job (the ``<job-id>-export`` batch). Job-result batches are multipart: when the batch has exactly one part it is selected automatically (and echoed as ``partName``); with several parts, pass ``part_name`` (see ``batch_processing_staging_batch_get`` parts). Download URLs expire after ~24h; archives (.tar/.tar.gz) must be unpacked after download. Returns ``{files, returned, nextPageToken?, truncated, partName?}``. Results are returned in whole upstream pages so ``nextPageToken`` always continues exactly where ``files`` ended. Listings are capped at 10,000 entries per call; past that, pull results with the inference-cli's ``export-batch`` (resumable) instead.

Parámetros de entrada

  • limitany

    Target number of file entries to return (default 1000, cap 10000, minimum 100). The response is page-aligned and may slightly exceed the target so the returned cursor never skips files.

  • batch_idstringObligatorio

    Staging batch id (job results live in '<job-id>-export')

  • part_nameany

    Part of a multipart batch to list (see staging_batch_get parts).

  • next_page_tokenany

    Continuation token from a previous call.

Parámetros de salida

Sin parámetros.

Batch processing staging batch getROBOFLOW_MCP_BATCH_PROCESSING_STAGING_BATCH_GETAcción

Get a staged batch's metadata, file count, and ingest progress. Sharded, cloud-storage, and references ingests register files asynchronously: the count stays low until ingest workers finish. Poll this until ``ingest.pending`` is false and ``ingest.failed`` is false before starting a job. For multipart batches (e.g. job results) the response includes ``parts``.

Parámetros de entrada

  • batch_idstringObligatorio

    Staging batch id

Parámetros de salida

Sin parámetros.

Cloud streaming results subscribeROBOFLOW_MCP_CLOUD_STREAMING_RESULTS_SUBSCRIBEAcción

Read the current job state and, when available, a live results feed grant. This call does not start or keep a job alive. With `retryAfterSeconds`, call this tool again after that delay. With `ended: true`, stop reading this job; `successorJobId`, when present, can be subscribed to instead. A feed response has `eventsUrl`, `pollUrl`, `accessToken`, and `accessTokenExpiresAt` (epoch milliseconds). Keep the results-only token private. Send it as a Bearer token to either feed, or add `access_token` to the WebSocket URL when headers are unavailable. It expires after ten minutes or when the execution ends. After a feed closes or returns 401/404, subscribe again for the current claim. `executionGeneration` can change between claims: discard the previous WebSocket `after` cursor or poll `cursor` when it changes. WebSocket reconnects within the same generation may use `after=<last seq received>`; polling uses `cursor=<next seq>`. Feeds are not durable history.

Parámetros de entrada

  • job_idstringObligatorio

    Cloud Streaming job ID.

Parámetros de salida

Sin parámetros.

Cloud streams job cancelROBOFLOW_MCP_CLOUD_STREAMS_JOB_CANCELAcción

Request cancellation of a job in the connected workspace. Poll cloud_streams_job_get until it has stopped.

Parámetros de entrada

  • job_idstringObligatorio

    Workspace job ID to stop.

Parámetros de salida

Sin parámetros.

Cloud streams job createROBOFLOW_MCP_CLOUD_STREAMS_JOB_CREATEAcción

Run a Workflow on the workspace's own cloud camera. Jobs incur charges and can execute Workflow sinks. Start with the connected OAuth account or a workspace API key; the user's current access continues to govern OAuth jobs. Never ask users to paste a key or secret into chat. A new start runs alongside existing jobs by default. To switch the Workflow on a camera, set replace_deployments only when the user explicitly wants to replace its other deployments. The platform starts the new job first, then requests stops of all older deployments on that camera; they may briefly run and bill together. Check replacedJobIds, stillRunningJobIds, otherDeploymentJobIds and replacementIncomplete, then poll job status. Existing input values are not copied; specify non-secret inputs needed by the new job. Retrying the same request and idempotency key completes an interrupted replace.

Parámetros de entrada

  • tierany

    Optional processing tier.

  • max_fpsany

    Optional maximum frame rate.

  • source_idstringObligatorio

    Workspace camera ID from cloud_streams_sources_list.

  • image_outputany

    Optional image output name.

  • workflow_urlany

    Published Workflow URL slug (the url field), not the full web address. Supply this or workflow_specification, not both.

  • processor_sizeany

    Optional size matching the tier.

  • idempotency_keystringObligatorio

    Stable unique key, 8-128 characters [A-Za-z0-9._:-]. Reuse it only for the same request.

  • recovery_policyany

    Persistent recovery setting; platform default when omitted.

  • replace_deploymentsboolean

    Explicitly replace the camera's older deployments. This stops other jobs on that camera.

  • workflow_parametersany

    Workflow input values. Do not put credentials in chat.

  • workflow_specificationany

    Inline Workflow specification, instead of workflow_url.

Parámetros de salida

Sin parámetros.

Cloud streams job getROBOFLOW_MCP_CLOUD_STREAMS_JOB_GETAcción

Read a workspace job's current status. Past history remains available after a shared source is withdrawn.

Parámetros de entrada

  • job_idstringObligatorio

    Job ID returned by cloud_streams_job_create or cloud_streams_jobs_list.

Parámetros de salida

Sin parámetros.

Cloud streams jobs listROBOFLOW_MCP_CLOUD_STREAMS_JOBS_LISTAcción

List jobs owned by the connected workspace, including jobs on its own cameras and past shared-source jobs after publication withdrawal. Use sharedSource to identify shared sources.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

Cloud streams shared job createROBOFLOW_MCP_CLOUD_STREAMS_SHARED_JOB_CREATEAcción

Run a saved Workflow on a shared source. Jobs, execution credentials, results and charges belong to the connected workspace. Starting jobs on shared sources requires an API key with video-inference-job:read, video-inference-job:create, workflow:read and model:infer; OAuth connections can start jobs on their own workspace's cameras instead. Withdrawal stops running jobs, but past job history remains readable.

Parámetros de entrada

  • source_idstringObligatorio

    ID from cloud_streams_shared_sources_list.

  • workflow_urlstringObligatorio

    Saved Workflow URL slug (the url field), in the connected workspace.

  • idempotency_keystringObligatorio

    Stable unique key, 8-128 characters [A-Za-z0-9._:-]. Reuse it for retries of the same job request.

  • recovery_policystring

    'always' for a persistent deployment, or 'none' for a one-run job.

Parámetros de salida

Sin parámetros.

Cloud streams shared source previewROBOFLOW_MCP_CLOUD_STREAMS_SHARED_SOURCE_PREVIEWAcción

Request a raw preview of a shared source. The returned WHEP URL contains a short-lived, single-reader grant. Pass it only to a playback client; never quote, summarize, log, or persist it in conversation. Request a new preview when needed. Withdrawal ends existing previews.

Parámetros de entrada

  • source_idstringObligatorio

    ID from cloud_streams_shared_sources_list.

Parámetros de salida

Sin parámetros.

Cloud streams shared sources listROBOFLOW_MCP_CLOUD_STREAMS_SHARED_SOURCES_LISTAcción

List public cameras available to the connected workspace. A source may go offline or be withdrawn at any time. Shared sources cannot be edited or republished by consumers.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

Cloud streams sources listROBOFLOW_MCP_CLOUD_STREAMS_SOURCES_LISTAcción

List this workspace's own cloud cameras and sources, without stream credentials.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

Connect cloud storageROBOFLOW_MCP_CONNECT_CLOUD_STORAGEAcción

Connect a cloud bucket end to end in one call: reuse or create a credential, create the datasource, validate it, and start the first mirror run. A run can overwrite imported images or metadata and remove mirrored images whose source disappeared. Alternative: to only run a model/Workflow over the files and get results out, WITHOUT importing them into Roboflow, use batch processing instead (start with batch_processing_guide). Mirroring also composes with it: imported files become Asset Library images, and bulk predictions over them run as Asset Library jobs (batch_processing_asset_library_job_create). On datasources with upload screening, new images and overwrites with changed pixels are held until an On Upload Workflow allows or redacts them. A completed mirror run does not mean held images are available as Sources. A changed-pixel overwrite detaches the prior Source from the bucket path, which can remain without a Source if the replacement is rejected. On Sync waits for eligible new-image verdicts and search indexing. It does not wait for held overwrites and can fail if no eligible images are admitted. Drive the conversation in this order, and do NOT bring up credentials until the bucket is settled: 1. Pick the bucket FIRST. Ask the user which bucket to connect, confirm its region, and settle which objects to mirror (mirror_configs). Don't mention credentials yet. 2. Credential, only after the bucket is chosen. Prefer reusing one the user already has (check credentials_list and pass its credential_id). Only if none fits, create a new one dedicated to Roboflow by passing credential_name + credential_type. Secrets are never entered in chat: creating a new credential returns manual_entry_required with a url to the Roboflow app, a docs_url, and (for AWS) an aws_setup deep-link. A dedicated, least-privilege credential scoped to this bucket is recommended over reusing personal keys (IAM user with read-only or bucket-scoped access, or an IAM role that trusts Roboflow via AssumeRole). 3. Call this once with the bucket and credential to create, validate, and (when trigger is true) run it. AWS/S3 assisted setup: use the bucket and profile chosen by the user. Only query that account for details needed to configure the selected bucket. - Bucket: Ask the user which bucket to connect. Only inspect that bucket's object paths when the user asks for help choosing mirror rules; do not enumerate other profiles, buckets, or their contents. - Region: For AWS/S3, look up the chosen bucket's region with `aws s3api get-bucket-location --bucket <bucket-name> --profile <profile>` if the user wants assistance (`null`/`None` means us-east-1). Use the AWS profile the user selected. If it is unclear which profile to use, ask the user before querying their AWS account. These commands only read non-secret metadata for the selected account and bucket; never read ~/.aws/credentials or pass secret values yourself. - Credential: When a new AWS credential must be created, before handing off to the Roboflow form: resolve the AWS account for the profile in use with `aws sts get-caller-identity --profile <p>` (reads non-secret identity only), then give the user an account-scoped console deep-link so they land in the right account. Sign in at https://<accountId>.signin.aws.amazon.com/console, then for an IAM credential create an IAM user at https://console.aws.amazon.com/iam/home#/users/create, or for an AssumeRole credential create an IAM role at https://console.aws.amazon.com/iam/home#/roles/create (trusting the Roboflow principal from the prerequisites docs). Collect the resulting access keys (IAM) or role ARN (AssumeRole) and enter them in the Roboflow form. The mirror run only starts when trigger is true AND validation reports no errors; triggering consumes credits. Returns {credentialId, credentialCreated, datasourceId, validation, triggered, batchIds?}. If a new credential was created but a later step failed, a partial status is returned with the credentialId so it can be cleaned up with credentials_delete.

Parámetros de entrada

  • namestringObligatorio

    Display name for the datasource

  • regionstringObligatorio

    Bucket region, e.g. 'us-east-1'

  • triggerboolean

    After setup, start a mirror run (consumes credits). Only runs if validation passes.

  • endpointany

    Custom S3-compatible endpoint URL (S3 only)

  • bucket_namestringObligatorio

    Bucket name (without scheme or path)

  • bucket_typestringObligatorioenum

    Cloud bucket provider

    s3gcs
  • descriptionany

    Optional datasource description

  • require_vpceboolean

    Require AWS PrivateLink (VPC endpoint). Needs an AssumeRoleWithWebIdentity credential; the server rejects otherwise.

  • credential_idany

    Reuse an existing credential (id from credentials_list). Omit to create a new one, which requires credential_name + credential_type.

  • mirror_configsany

    Optional list of mirror rules. Each rule selects a subset of the bucket and controls how those files sync. Omit the whole argument to mirror the entire bucket with default settings. Each item is {id?, glob_patterns?, glob_file_path?, settings?}: - glob_patterns (list[str]): THE KEY FIELD - glob patterns selecting which images to import, matched against object paths, e.g. ['images/**/*.jpg', 'batch-*/**']. Only images are ingested: non-image objects a pattern matches are skipped, so a broad catch-all still imports only images and does not change which images come in. Sidecar metadata is automatic - for each image the mirror looks for a companion <image-basename>.json beside it and attaches it as metadata, so do NOT list .json/metadata files here (they are never imported on their own). Without it the rule matches every image in the bucket; set it to scope the image set (a subfolder or file type) or split a bucket into multiple rules. - glob_file_path (str): alternative to glob_patterns - path to a manifest file in the bucket whose lines list the image paths to import. - id (str): rule id; auto-generated if omitted (pass the existing id on update to edit a rule in place). - settings (object): sync behavior; omitted keys use server defaults: - removeOrphanedSourcesWhenDisappeared (bool, default true): delete mirrored images whose source object was removed from the bucket. - namingStrategy ('fullPath'|'fileName'|'eTag'|'metadata', default 'fullPath'): how the imported image name is derived. - namingStrategyMetadataKey (str): required when namingStrategy='metadata' - which object-metadata key holds the name. - updateImageWhenNewer (bool, default true): re-import an image when the bucket object is newer. - updateImageStrategy ('overwrite', default 'overwrite'): how an updated image replaces the existing one. - updateMetadataWhenNewer (bool, default true): refresh image metadata when the bucket object is newer. - updateMetadataStrategy ('overwrite'|'mergeBucketWins'|'merge'|'mergeUserWins'|'untilFirstChange'|'append', default 'mergeBucketWins'): how bucket metadata merges with user edits. - runScheduledEvery (int hours, default 0=off): >0 enables an automatic recurring mirror (currently a fixed 24h cadence; only on/off is honored today). Note: datasource imports land at the workspace level; the datasource API cannot target a specific Roboflow project/dataset today.

  • credential_nameany

    Name for a NEW credential (used only when credential_id is omitted)

  • credential_typeany

    Type for a NEW credential (used only when credential_id is omitted). Both are for AWS/S3 buckets: IAM (AWS access keys) or AssumeRole (AWS IAM role).

  • credential_descriptionany

    Optional description for a new credential

Parámetros de salida

Sin parámetros.

Credentials deleteROBOFLOW_MCP_CREDENTIALS_DELETEAcción

Delete a credential. Datasources still referencing it will fail to run.

Parámetros de entrada

  • credential_idstringObligatorio

    Id of the credential to delete

Parámetros de salida

Sin parámetros.

Credentials listROBOFLOW_MCP_CREDENTIALS_LISTAcción

List cloud-storage credentials in the workspace. Secrets are masked server-side, so only non-sensitive fields (id, type, name, description) come back. Returns ``{ credentials }``.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

Datasets rebalance splitsROBOFLOW_MCP_DATASETS_REBALANCE_SPLITSAcción

Enqueue an async rebalance of a project's train/valid/test splits. Use this to fix a starved or empty split — an empty test split blocks training, and this is the only way to move images between splits after upload. `train`, `valid` and `test` are relative weights, not percentages: they do not have to sum to 100, and each must be a whole number (70, not 70.5). `mode="rebalance"` moves the fewest images needed to reach the ratios; `mode="shuffle"` reassigns every image. For anomaly detection, train on normal images only. Keep normal images in validation for threshold calibration; put anomalous images in validation or test, never train. Rebalance each class separately with `classes=["normal"]` or `classes=["anomalous"]` and suitable weights. Do not apply the default whole-Dataset 70/20/10 rebalance to an anomaly project: it can move anomalous images into train. Returns the platform's 202 payload verbatim — at minimum `{ taskId, url }`, where `url` points at the async-task polling endpoint. Poll completion with `async_tasks_get(task_id=taskId)` every 5 seconds until `status` is terminal (`completed` or `failed`).

Parámetros de entrada

  • modestringenum

    'rebalance' moves the fewest images needed to hit the target ratios, leaving every other image where it is. 'shuffle' ignores current assignments and reassigns every image at random to match the ratios.

    rebalanceshuffle
  • testinteger

    Target weight for the test split

  • traininteger

    Target weight for the train split

  • validinteger

    Target weight for the valid split

  • classesany

    Class names to rebalance (for example ['normal'] or ['anomalous']); omit to rebalance the whole Dataset.

  • project_idstringObligatorio

    Project slug (e.g. 'my-project'); 'workspace/my-project' is also accepted.

Parámetros de salida

Sin parámetros.

Datasource createROBOFLOW_MCP_DATASOURCE_CREATEAcción

Create a datasource that mirrors a cloud bucket into your workspace. Returns the created datasource {id}. Nothing is mirrored until you call datasource_trigger (or a schedule fires). A run may overwrite imported images or metadata and remove mirrored images whose source disappears. Alternative: to only run a model/Workflow over the files and get results out, WITHOUT importing them into Roboflow, use batch processing instead (start with batch_processing_guide). Mirroring also composes with it: imported files become Asset Library images, and bulk predictions over them run as Asset Library jobs (batch_processing_asset_library_job_create). On datasources with upload screening, new images and overwrites with changed pixels are held until an On Upload Workflow allows or redacts them. A completed mirror run does not mean held images are available as Sources. A changed-pixel overwrite detaches the prior Source from the bucket path, which can remain without a Source if the replacement is rejected. On Sync waits for eligible new-image verdicts and search indexing. It does not wait for held overwrites and can fail if no eligible images are admitted. AWS/S3 assisted setup: use the bucket and profile chosen by the user. Only query that account for details needed to configure the selected bucket. - Bucket: Ask the user which bucket to connect. Only inspect that bucket's object paths when the user asks for help choosing mirror rules; do not enumerate other profiles, buckets, or their contents. - Region: For AWS/S3, look up the chosen bucket's region with `aws s3api get-bucket-location --bucket <bucket-name> --profile <profile>` if the user wants assistance (`null`/`None` means us-east-1). Use the AWS profile the user selected. If it is unclear which profile to use, ask the user before querying their AWS account. These commands only read non-secret metadata for the selected account and bucket; never read ~/.aws/credentials or pass secret values yourself. - Credential: When a new AWS credential must be created, before handing off to the Roboflow form: resolve the AWS account for the profile in use with `aws sts get-caller-identity --profile <p>` (reads non-secret identity only), then give the user an account-scoped console deep-link so they land in the right account. Sign in at https://<accountId>.signin.aws.amazon.com/console, then for an IAM credential create an IAM user at https://console.aws.amazon.com/iam/home#/users/create, or for an AssumeRole credential create an IAM role at https://console.aws.amazon.com/iam/home#/roles/create (trusting the Roboflow principal from the prerequisites docs). Collect the resulting access keys (IAM) or role ARN (AssumeRole) and enter them in the Roboflow form.

Parámetros de entrada

  • namestringObligatorio

    Display name for the datasource

  • regionstringObligatorio

    Bucket region, e.g. 'us-east-1'

  • endpointany

    Custom S3-compatible endpoint URL (S3 only)

  • bucket_namestringObligatorio

    Bucket name (without scheme or path)

  • bucket_typestringObligatorioenum

    Cloud bucket provider

    s3gcs
  • descriptionany

    Optional description

  • require_vpceboolean

    Require AWS PrivateLink (VPC endpoint). Needs an AssumeRoleWithWebIdentity credential; the server rejects otherwise.

  • credential_idstringObligatorio

    Id of a stored credential (see credentials_list)

  • mirror_configsany

    Optional list of mirror rules. Each rule selects a subset of the bucket and controls how those files sync. Omit the whole argument to mirror the entire bucket with default settings. Each item is {id?, glob_patterns?, glob_file_path?, settings?}: - glob_patterns (list[str]): THE KEY FIELD - glob patterns selecting which images to import, matched against object paths, e.g. ['images/**/*.jpg', 'batch-*/**']. Only images are ingested: non-image objects a pattern matches are skipped, so a broad catch-all still imports only images and does not change which images come in. Sidecar metadata is automatic - for each image the mirror looks for a companion <image-basename>.json beside it and attaches it as metadata, so do NOT list .json/metadata files here (they are never imported on their own). Without it the rule matches every image in the bucket; set it to scope the image set (a subfolder or file type) or split a bucket into multiple rules. - glob_file_path (str): alternative to glob_patterns - path to a manifest file in the bucket whose lines list the image paths to import. - id (str): rule id; auto-generated if omitted (pass the existing id on update to edit a rule in place). - settings (object): sync behavior; omitted keys use server defaults: - removeOrphanedSourcesWhenDisappeared (bool, default true): delete mirrored images whose source object was removed from the bucket. - namingStrategy ('fullPath'|'fileName'|'eTag'|'metadata', default 'fullPath'): how the imported image name is derived. - namingStrategyMetadataKey (str): required when namingStrategy='metadata' - which object-metadata key holds the name. - updateImageWhenNewer (bool, default true): re-import an image when the bucket object is newer. - updateImageStrategy ('overwrite', default 'overwrite'): how an updated image replaces the existing one. - updateMetadataWhenNewer (bool, default true): refresh image metadata when the bucket object is newer. - updateMetadataStrategy ('overwrite'|'mergeBucketWins'|'merge'|'mergeUserWins'|'untilFirstChange'|'append', default 'mergeBucketWins'): how bucket metadata merges with user edits. - runScheduledEvery (int hours, default 0=off): >0 enables an automatic recurring mirror (currently a fixed 24h cadence; only on/off is honored today). Note: datasource imports land at the workspace level; the datasource API cannot target a specific Roboflow project/dataset today.

Parámetros de salida

Sin parámetros.

Datasource deleteROBOFLOW_MCP_DATASOURCE_DELETEAcción

Delete a datasource configuration. Does not delete already-mirrored images.

Parámetros de entrada

  • config_idstringObligatorio

    Datasource (bucket-mirror config) id

Parámetros de salida

Sin parámetros.

Datasource getROBOFLOW_MCP_DATASOURCE_GETAcción

Get full detail for a single datasource, including its bucket, mirror rules, and latest job summary.

Parámetros de entrada

  • config_idstringObligatorio

    Datasource (bucket-mirror config) id

Parámetros de salida

Sin parámetros.

Datasource job getROBOFLOW_MCP_DATASOURCE_JOB_GETAcción

Get the status and statistics of a single datasource mirror run. Poll this with a ``batchId`` from ``datasource_trigger`` to track a run. Returns the job's ``status`` (running/completed/failed), per-stage ``counters`` (enqueued/completed/failed), any ``errors``, and timestamps (``startedAt``/``completedAt``/``lastSyncedAt``). In ``counters.INGEST_FILE.meta``, ``imageHeldForScreening`` counts new images and changed-pixel overwrites held for screening. ``imageScreeningSkipped`` counts object versions not downloaded because an earlier sync held them and they are still pending or were rejected. These are not Source counts: a completed mirror can precede screening verdicts and Source creation.

Parámetros de entrada

  • job_idstringObligatorio

    Job id (the batchId returned by datasource_trigger)

  • config_idstringObligatorio

    Datasource (bucket-mirror config) id

Parámetros de salida

Sin parámetros.

Datasources listROBOFLOW_MCP_DATASOURCES_LISTAcción

List datasource (cloud-bucket mirror) configurations in the workspace. Returns ``{ datasources }`` where each entry is trimmed to ``{id, name, credentialId, validated, requireVpce, latestJob}``. Use ``datasource_get`` for a single config's full detail.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

Datasource triggerROBOFLOW_MCP_DATASOURCE_TRIGGERAcción

Start a mirror run for a datasource. This kicks off a job that ingests bucket contents into your workspace. Depending on the saved mirror rules, it can overwrite imported images or metadata and remove images whose source objects disappeared. It can consume compute/storage credits. Returns ``{batchIds}`` for the run(s) that were started. Use ``datasource_validate`` first if you are unsure the bucket is reachable. New images and changed-pixel overwrites may be held for screening after this run completes. Check ``datasource_job_get`` counters and wait for eligible verdicts before treating those images as available Sources. An On Sync automation may then run a Workflow over admitted, searchable images.

Parámetros de entrada

  • config_idstringObligatorio

    Datasource (bucket-mirror config) id

Parámetros de salida

Sin parámetros.

Datasource updateROBOFLOW_MCP_DATASOURCE_UPDATEAcción

Update a datasource. Only the fields you pass are changed. To replace the bucket, pass ``bucket_type``, ``bucket_name`` and ``region`` together (``endpoint`` is optional and only applied with them). Returns the updated datasource.

Parámetros de entrada

  • nameany

    New display name

  • regionany

    New bucket region; only for a bucket change

  • endpointany

    New custom S3 endpoint URL; only applied as part of a bucket change (pass bucket_type, bucket_name and region too)

  • config_idstringObligatorio

    Datasource (bucket-mirror config) id

  • bucket_nameany

    New bucket name; only for a bucket change

  • bucket_typeany

    New bucket provider; requires bucket_name and region too

  • descriptionany

    New description

  • require_vpceany

    Toggle AWS PrivateLink requirement

  • credential_idany

    New credential id

  • mirror_configsany

    Optional list of mirror rules. Each rule selects a subset of the bucket and controls how those files sync. Omit the whole argument to mirror the entire bucket with default settings. Each item is {id?, glob_patterns?, glob_file_path?, settings?}: - glob_patterns (list[str]): THE KEY FIELD - glob patterns selecting which images to import, matched against object paths, e.g. ['images/**/*.jpg', 'batch-*/**']. Only images are ingested: non-image objects a pattern matches are skipped, so a broad catch-all still imports only images and does not change which images come in. Sidecar metadata is automatic - for each image the mirror looks for a companion <image-basename>.json beside it and attaches it as metadata, so do NOT list .json/metadata files here (they are never imported on their own). Without it the rule matches every image in the bucket; set it to scope the image set (a subfolder or file type) or split a bucket into multiple rules. - glob_file_path (str): alternative to glob_patterns - path to a manifest file in the bucket whose lines list the image paths to import. - id (str): rule id; auto-generated if omitted (pass the existing id on update to edit a rule in place). - settings (object): sync behavior; omitted keys use server defaults: - removeOrphanedSourcesWhenDisappeared (bool, default true): delete mirrored images whose source object was removed from the bucket. - namingStrategy ('fullPath'|'fileName'|'eTag'|'metadata', default 'fullPath'): how the imported image name is derived. - namingStrategyMetadataKey (str): required when namingStrategy='metadata' - which object-metadata key holds the name. - updateImageWhenNewer (bool, default true): re-import an image when the bucket object is newer. - updateImageStrategy ('overwrite', default 'overwrite'): how an updated image replaces the existing one. - updateMetadataWhenNewer (bool, default true): refresh image metadata when the bucket object is newer. - updateMetadataStrategy ('overwrite'|'mergeBucketWins'|'merge'|'mergeUserWins'|'untilFirstChange'|'append', default 'mergeBucketWins'): how bucket metadata merges with user edits. - runScheduledEvery (int hours, default 0=off): >0 enables an automatic recurring mirror (currently a fixed 24h cadence; only on/off is honored today). Note: datasource imports land at the workspace level; the datasource API cannot target a specific Roboflow project/dataset today.

Parámetros de salida

Sin parámetros.

Datasource validateROBOFLOW_MCP_DATASOURCE_VALIDATEAcción

Check that Roboflow can access the datasource's bucket. Returns ``{checks, errors}`` where ``checks`` reports whether ``listFiles``/``headFile``/``getFile`` succeeded plus a per-mirror ``headGlobFile`` result. Use it to self-diagnose a misconfigured credential or bucket before triggering a run.

Parámetros de entrada

  • config_idstringObligatorio

    Datasource (bucket-mirror config) id

Parámetros de salida

Sin parámetros.

Device groups add devicesROBOFLOW_MCP_DEVICE_GROUPS_ADD_DEVICESAcción

Add devices to a fleet device group; other members are kept. Requires ``device:update``.

Parámetros de entrada

  • group_idstringObligatorio

    Group id

  • device_idsstring[]Obligatorio

    Device ids to add; at least one.

Parámetros de salida

Sin parámetros.

Device groups createROBOFLOW_MCP_DEVICE_GROUPS_CREATEAcción

Create a fleet device group with at least one member. Requires ``device:update``.

Parámetros de entrada

  • namestringObligatorio

    Group name, unique in the workspace

  • colorany

    Display color.

  • device_idsstring[]Obligatorio

    Initial member device ids; at least one.

  • descriptionany

    Description.

Parámetros de salida

Sin parámetros.

Device groups deleteROBOFLOW_MCP_DEVICE_GROUPS_DELETEAcción

Delete a fleet device group; its devices are kept. Requires ``device:update``.

Parámetros de entrada

  • group_idstringObligatorio

    Group id

Parámetros de salida

Sin parámetros.

Device groups getROBOFLOW_MCP_DEVICE_GROUPS_GETAcción

Get one fleet device group. Requires ``device:read``.

Parámetros de entrada

  • group_idstringObligatorio

    Group id

Parámetros de salida

Sin parámetros.

Device groups get configROBOFLOW_MCP_DEVICE_GROUPS_GET_CONFIGAcción

Get a fleet device group's config patch. Requires ``device:read``.

Parámetros de entrada

  • group_idstringObligatorio

    Group id

Parámetros de salida

Sin parámetros.

Device groups listROBOFLOW_MCP_DEVICE_GROUPS_LISTAcción

List the workspace's fleet device groups. Requires ``device:read``.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • resultobject[]Obligatorio
Device groups remove devicesROBOFLOW_MCP_DEVICE_GROUPS_REMOVE_DEVICESAcción

Remove devices from a fleet device group; the devices are kept. Requires ``device:update``.

Parámetros de entrada

  • group_idstringObligatorio

    Group id

  • device_idsstring[]Obligatorio

    Device ids to remove; at least one.

Parámetros de salida

Sin parámetros.

Device groups updateROBOFLOW_MCP_DEVICE_GROUPS_UPDATEAcción

Update a fleet device group. Requires ``device:update``. ``device_ids`` replaces the whole membership. To add or remove single devices use ``device_groups_add_devices`` or ``device_groups_remove_devices``.

Parámetros de entrada

  • nameany

    New name.

  • colorany

    New display color.

  • group_idstringObligatorio

    Group id

  • device_idsany

    Full member list; replaces the current members.

  • descriptionany

    New description.

Parámetros de salida

Sin parámetros.

Device groups update configROBOFLOW_MCP_DEVICE_GROUPS_UPDATE_CONFIGAcción

Replace a fleet device group's config patch. Requires ``device:update``.

Parámetros de entrada

  • group_idstringObligatorio

    Group id

  • config_patchobjectObligatorio

    The group's whole config patch; replaces the existing one.

Parámetros de salida

Sin parámetros.

Devices apply pending configROBOFLOW_MCP_DEVICES_APPLY_PENDING_CONFIGAcción

Request application of pending device config updates now. Requires the ``device:update`` scope. A no-op when no pending updates exist. Unapproved production updates remain held through maintenance windows, and apply-pending may return 409 until they are approved. A ``configProposal`` is separate from pending updates; MCP cannot approve it.

Parámetros de entrada

  • device_idstringObligatorio

    Device id

Parámetros de salida

Sin parámetros.

Devices createROBOFLOW_MCP_DEVICES_CREATEAcción

Provision a new v2 device. Requires the ``device:update`` scope. Returns ``{deviceId, installId, offlineProvisioningQrPayload?}``: ``installId`` is the short-lived token used by the device installer (``GET /devices/v2/:installId/install.sh``). ``offlineProvisioningQrPayload`` is only present for AI1 devices provisioned with ``offline_mode=true``. Secure gateway devices require ``runtime='docker'``. An attached gateway must be ready. Offline QR provisioning cannot carry gateway trust, so do not combine ``secure_gateway_id`` with ``offline_mode``. New and duplicated devices do not copy display mode selections from templates or the source device. Select modes after the new device reports its own connected displays.

Parámetros de entrada

  • tagsany

    Optional list of tag strings.

  • runtimeany

    Installer runtime. Use 'docker' when device_type is 'secure-gateway'.

  • device_namestringObligatorio

    Human-readable device name

  • device_typeany

    'ai1', 'edge', or any custom string. Optional.

  • workflow_idany

    Optional initial workflow assignment. For AI1 devices this seeds the default 'aione' stream; other device types typically bind workflows later when streams are configured.

  • offline_modeany

    Only valid for AI1 devices on workspaces with the roboflowLiteMode feature flag.

  • source_device_idany

    When set, duplicate this existing device's config instead of generating a fresh one.

  • secure_gateway_idany

    ID of an existing ready secure gateway to attach this device to.

Parámetros de salida

Sin parámetros.

Devices deleteROBOFLOW_MCP_DEVICES_DELETEAcción

Delete a device and revoke its api_keys. Cannot be undone. Requires the ``device:update`` scope on a workspace credential; a device's own api_key cannot delete it (403).

Parámetros de entrada

  • device_idstringObligatorio

    Device id

Parámetros de salida

Sin parámetros.

Devices discover camerasROBOFLOW_MCP_DEVICES_DISCOVER_CAMERASAcción

Request camera discovery on a device through its command channel. Returns ``{id}`` for the queued command. Discovery runs asynchronously; read ``devices_get`` or ``devices_get_snapshot`` afterward for ``discovered_cameras`` and ``devices_get_events`` for discovery/connection events. A successful enqueue does not mean discovery finished. Undelivered commands expire after 5 minutes, and discovery support depends on the device runtime.

Parámetros de entrada

  • device_idstringObligatorio

    Device id

Parámetros de salida

Sin parámetros.

Devices getROBOFLOW_MCP_DEVICES_GETAcción

Get a single device by id. Returns the Device object. 404 if the device does not exist or belongs to a different workspace. When inspecting a device, also call ``devices_get_config`` for its running services and ``devices_get_default_config`` for the workspace's recommended versions. Comparing the two ``services`` maps reveals whether the device is up to date or pinned to an older build of any service.

Parámetros de entrada

  • device_idstringObligatorio

    Device id

Parámetros de salida

Sin parámetros.

Devices get configROBOFLOW_MCP_DEVICES_GET_CONFIGAcción

Get the device's current runtime configuration. Returns the full RFDM config JSON: ``device_id``, ``device_name``, ``workspace_id``, ``version``, ``last_updated``, ``config``, ``services``, any ``pendingUpdates`` (queued changes with ``applyUpdatesAt`` and ``updateFields``), and any ``configProposal``. A proposal is awaiting production approval and is not active config. Unapproved pending changes remain held even during maintenance windows. Workspace and OAuth callers receive redacted stream credentials. Service environment variables can still contain integration credentials, so treat the payload as sensitive. ``config.kiosk.outputs`` contains any per-connector display mode selections. The live display report requires a Firebase session cookie and cannot be read through MCP. Tip: pair this with ``devices_get_default_config`` and diff the ``services`` map. The default config carries the workspace's recommended version for each service, so comparing the two tells you whether the device is up to date or pinned to an older build.

Parámetros de entrada

  • device_idstringObligatorio

    Device id

Parámetros de salida

Sin parámetros.

Devices get config historyROBOFLOW_MCP_DEVICES_GET_CONFIG_HISTORYAcción

List prior configuration revisions, newest first. Returns ``{data: ConfigRevision[], pagination: {next_cursor, has_more, limit}}``. Each ConfigRevision carries ``revision_id``, ``created_at``, and ``created_by``.

Parámetros de entrada

  • limitany

    Page size (1-500, default 10).

  • cursorany

    ISO timestamp from a previous page's next_cursor.

  • device_idstringObligatorio

    Device id

Parámetros de salida

Sin parámetros.

Devices get default configROBOFLOW_MCP_DEVICES_GET_DEFAULT_CONFIGAcción

Get the workspace's default device configuration. Returns ``{config, patch}``: ``config`` is the base default config with the workspace's ``config_patch`` applied (the template used when provisioning new devices, including default service versions), and ``patch`` is the raw workspace-level patch object. Display mode selections in this template are not copied to new devices. Useful for inspecting which service versions a fresh device would be created with, or for seeding a payload to ``devices_update_config``. Requires the ``device:read`` scope. Device-scoped api_keys are rejected with 403 — this endpoint is workspace-wide.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

Devices get deploymentsROBOFLOW_MCP_DEVICES_GET_DEPLOYMENTSAcción

Get the device's deployment history with per-deployment activity. This is the device Activity tab as structured JSON: each config revision becomes a half-open deployment window (newest window open-ended), annotated with what happened while it was live: - ``exception_issues`` — exceptions grouped by fingerprint with occurrence counts, last_seen, and the latest description; drill into one with ``devices_get_exception_occurrences`` - ``error_event_issues`` — error events grouped by entity/event/error_code - ``execution_environment`` — the inference runtime reported during the window (versions, GPU, loaded models) - ``workflow_edits`` — workflow publishes that landed mid-deployment - ``container_pulls`` — image pulls (and failures) during the window - ``stats`` — unique/unhandled exception counts and error event count - ``config_changed_paths`` (opt-in) — dotted config paths changed vs the prior revision, values omitted - ``trends`` (opt-in) — bucketed occurrence time series per issue Returns ``{device_id, deployments: Deployment[], pagination: {next_cursor, has_more, limit}}``. Prefer this over raw ``devices_get_events`` when diagnosing what a deployment broke. Rate-limited per-device: 30 requests / minute.

Parámetros de entrada

  • limitany

    Deployments per page (1-5, default 5).

  • cursorany

    ISO timestamp from a previous page's next_cursor.

  • includeany

    Comma-separated sections: issues, trends, workflow_edits, container_pulls, config_changed_paths. Default issues,workflow_edits,container_pulls.

  • device_idstringObligatorio

    Device id

Parámetros de salida

Sin parámetros.

Devices get eventsROBOFLOW_MCP_DEVICES_GET_EVENTSAcción

List device and stream lifecycle events. Returns ``{data: Event[], pagination: {next_cursor, prev_cursor, has_more, limit}}``. By default the feed models **state transitions**: consecutive rows carrying the same event name for the same entity collapse into one row unless the previous row's TTL has elapsed. That is right for lifecycle events and wrong for periodic telemetry, which reuses a single event name for every sample: ``plc_snapshot`` ticks every 60s with ``ttl_s: 300``, so a deduped read returns roughly one row where the raw read returns them all. Pass ``dedupe=False`` to read raw rows. It requires **both** ``entity_type`` and ``entity_id`` (an entity id is only unique within its type), reports ``event_end_timestamp`` as ``null`` (an "end" is derived from the dedup window and means nothing for a sampled reading), and is rate-limited at 30 requests / minute per device, in the same bucket as ``devices_get_services`` and ``devices_get_service_series``. The deduped default is not rate-limited. For charting a named sidecar metric, prefer ``devices_get_service_series``, which resolves the entity id and the dedup behavior for you.

Parámetros de entrada

  • eventany

    Filter by event name.

  • limitany

    Page size (1-1000, default 100).

  • cursorany

    Opaque cursor from a previous page.

  • dedupeany

    Default true. Pass false to read raw rows instead of collapsed state transitions. Requires both entity_type and entity_id.

  • end_timeany

    ISO timestamp upper bound.

  • device_idstringObligatorio

    Device id

  • directionany

    Pagination direction. Default backward.

  • entity_idany

    Filter to a single entity id.

  • start_timeany

    ISO timestamp lower bound.

  • entity_typeany

    Filter to one entity type (e.g. 'stream', 'device').

Parámetros de salida

Sin parámetros.

Devices get event store statsROBOFLOW_MCP_DEVICES_GET_EVENT_STORE_STATSAcción

Report a device's local event store against its capacity limits. Thin view over ``devices_get_services(kind='event_store')``. Returns ``{device_id, services: Service[]}``; each ``status`` carries ``records`` / ``records_limit`` / ``records_percent``, ``images``, ``bytes_used`` / ``bytes_limit`` / ``bytes_percent``, a ``backup`` block (Vision Events upload progress: ``enabled``, ``backed_up_*``, ``pending_*``), a ``drafts`` block, ``disk``, ``capacity_blocked``, ``unuploaded_records``, and ``last_cleanup``. Reading it correctly: - ``capacity_blocked`` is ``null`` until the device reports a transition. The service emits only ``capacity_blocked`` / ``capacity_cleared``, so silence is genuinely unknown and ``false`` would assert healthy. It also reads ``true`` only while a fresh stats sample has not contradicted it. - ``drafts`` is ``null`` on firmware predating the draft lifecycle, which is not the same as a device reporting zero drafts. - ``stale: true`` with all counters ``null`` means no recent stats sample: a device that only ever reported a cleanup is not a healthy, current event store. - ``reported_at`` is the device's clock and may be ``null``; the ``received_at`` fields are the platform's. For a trend (fill rate, backup backlog), use ``devices_get_service_series`` with metrics such as ``records_percent``, ``bytes_percent``, ``pending_records``, or ``disk_percent_used``.

Parámetros de entrada

  • device_idstringObligatorio

    Device id

  • service_nameany

    Config name of one event store service. A name that is not an event store 404s. Omit to return every event store declared on the device.

  • include_signalsboolean

    Add the raw stats/capacity/cleanup device-event slots behind the status.

Parámetros de salida

Sin parámetros.

Devices get exception occurrencesROBOFLOW_MCP_DEVICES_GET_EXCEPTION_OCCURRENCESAcción

List raw occurrences of one exception fingerprint, newest first. Use after ``devices_get_deployments`` to see exactly when a grouped exception fired — each row is ``{id, timestamp, error_code}``. Pair the timestamps with ``devices_get_logs`` (``start_time`` / ``end_time`` around an occurrence) to read the surrounding log context. Returns ``{data: [...], pagination: {next_cursor, has_more, limit}}``.

Parámetros de entrada

  • limitany

    Page size (1-100, default 20).

  • cursorany

    Opaque cursor from a previous page.

  • end_timeany

    ISO timestamp upper bound (exclusive).

  • device_idstringObligatorio

    Device id

  • start_timeany

    ISO timestamp lower bound (inclusive).

  • fingerprintstringObligatorio

    Exception fingerprint from devices_get_deployments exception_issues. Pass the value verbatim — fingerprints embed file paths, and URL encoding is handled for you. Do not percent-encode it yourself.

Parámetros de salida

Sin parámetros.

Devices get inference versionsROBOFLOW_MCP_DEVICES_GET_INFERENCE_VERSIONSAcción

Get the inference server version each listed device runs. Requires the ``device:read`` scope. Use it to check whether a workflow's blocks are supported before deploying it to a device.

Parámetros de entrada

  • device_idsstring[]Obligatorio

    Device ids to look up.

Parámetros de salida

Sin parámetros.

Devices get logsROBOFLOW_MCP_DEVICES_GET_LOGSAcción

Fetch device logs from Elasticsearch. Rate-limited at 120 requests / minute per workspace, in a separate bucket from device log ingestion. Returns ``{data: LogEntry[], pagination: {next_cursor, has_more, limit}}``.

Parámetros de entrada

  • limitany

    Page size (1-1000, default 100).

  • cursorany

    ISO timestamp from a previous page's next_cursor.

  • serviceany

    Comma-separated service names to filter by.

  • end_timeany

    ISO timestamp upper bound.

  • severityany

    Comma-separated severities (INFO, WARN, ERROR, ...).

  • device_idstringObligatorio

    Device id

  • start_timeany

    ISO timestamp lower bound.

Parámetros de salida

Sin parámetros.

Devices get plc statusROBOFLOW_MCP_DEVICES_GET_PLC_STATUSAcción

Answer "is this PLC connected?" for a device's PLC relay sidecars. Thin view over ``devices_get_services(kind='plc_relay')``. Returns ``{device_id, services: Service[]}``; each ``status`` carries: - ``connected``: reconciled across the every-60s snapshot and the transition-only connectivity events by recency, connectivity winning ties, so an older optimistic snapshot can never mask a newer disconnect. ``null`` means unknown, not disconnected: the two slots could not be ordered on one clock. - ``driver``, ``plc_ip`` - ``tags`` / ``tag_count``: the tag map and its size, **withheld (``null``) whenever ``connected`` is not true**. Those readings predate the drop, and a frozen part count shown as current is how an operator ends up trusting a dead line. - ``reported_at``: device clock, from the snapshot; ``connection_changed_at``: device clock, from the last connectivity transition. Both ``null`` when that slot never reported. - ``stale: true``: the reading that decided ``connected`` is old (over 30 minutes), which is different from absent. For connectivity history, use ``devices_get_service_series`` with ``metric='connected'`` (charts as 1/0).

Parámetros de entrada

  • device_idstringObligatorio

    Device id

  • service_nameany

    Config name of one PLC relay service. A name that is not a PLC relay 404s. Omit to return every PLC relay declared on the device.

  • include_signalsboolean

    Add the raw device-event slots behind the status, including a snapshot superseded by a newer disconnect.

Parámetros de salida

Sin parámetros.

Devices get secure gateway statusROBOFLOW_MCP_DEVICES_GET_SECURE_GATEWAY_STATUSAcción

Read the secure gateway's recorded bootstrap and cache state. Returns the platform's gateway state, including ``status`` (``initialising``, ``ready``, or ``error``), gateway/SeaweedFS versions, timestamps, cache stats, and any last setup error. A 404 means no state has been recorded for this device. This does not initialise a gateway or verify current connectivity.

Parámetros de entrada

  • device_idstringObligatorio

    Device id

Parámetros de salida

Sin parámetros.

Devices get servicesROBOFLOW_MCP_DEVICES_GET_SERVICESAcción

List the sidecar containers a device runs and what each is doing. Joins the device's declared ``services`` config with the same latest-value status cache the Device Manager UI subscribes to. Returns ``{device_id, services: Service[], unassociated_signals}``. Each Service carries ``name``, ``kind`` (resolved from the image; an unrecognized container is ``custom``), ``image``/``tag``, ``tag_is_canonical``, ``automatic_updates``, ``has_pending_changes``, ``state`` plus ``state_reported_at`` / ``state_received_at``, ``image_state``, ``signal_conflicts``, and the typed ``status`` for its kind. Reading the nulls correctly: - ``state`` and ``image_state`` are ``null`` once the last report has aged past its TTL; the matching ``*_received_at`` still carries a timestamp, so "stale reading" stays distinguishable from "never reported". - ``status`` is ``null`` until the service has reported, for kinds that emit no telemetry (``rtsp_simulator``, ``device_hmi``, ``custom``), and whenever ``signal_conflicts`` is non-empty. - ``signal_conflicts`` lists entity ids more than one declared service claims. Ids derive from the **kind**, so two services of the same kind collide unless each sets a distinct ``DEVICE_EVENT_ENTITY_ID``. The reading cannot be attributed, so it is withheld rather than guessed. - ``unassociated_signals`` holds telemetry that matched no declared service (a custom container, or an entity-id override we could not resolve). It needs ``include=['signals']`` and is omitted when a ``kind`` filter is applied. Two clocks, everywhere in this response: ``*_reported_at`` is the device's own claim and is ``null`` when the device sent none (it is never backfilled), while ``*_received_at`` is when the platform recorded it. Freshness reads ``received_at``; ordering two signals from one device reads ``reported_at``. Never compare one against the other. ``metrics_truncated: true`` means the metrics aggregation hit its row cap and some services report ``metrics: null`` for that reason rather than never having reported. Narrow ``time_period``. Rate-limited per-device: 30 requests / minute, in one bucket shared with ``devices_get_service_series``, the per-sidecar tools, and ``devices_get_events(dedupe=False)``.

Parámetros de entrada

  • kindany

    Filter to one sidecar kind. Omit for every declared service.

  • includeany

    Sections to return. Default ['status']. 'config' returns environment_variables verbatim (commonly PLC/broker passwords and API keys), so ask for it only when you need it. 'signals' adds the raw device-event slots behind status, and populates unassociated_signals. 'metrics' adds latest container CPU/memory.

  • device_idstringObligatorio

    Device id

  • time_periodany

    Window for the 'metrics' section only. Default 24h.

Parámetros de salida

Sin parámetros.

Devices get service seriesROBOFLOW_MCP_DEVICES_GET_SERVICE_SERIESAcción

Chart one named sidecar metric over time. The metric name resolves to the right entity id, event names, and metadata key for that service's kind, and the read skips the dedup window that would otherwise collapse periodic telemetry. Use this for trend questions instead of raw ``devices_get_events``. Returns ``{device_id, service, kind, metric, metric_type, time_period, available_metrics, truncated, covered_from, covered_to, points: [{timestamp, value}]}``. - ``metric_type`` is ``number`` or ``boolean``. A boolean charts as 1/0, so the type is what tells a ``1`` meaning "true" from a ``1`` meaning "one". - An unknown ``metric`` returns 400 listing the valid names for that kind in ``valid_values``; ``available_metrics`` on a successful response says the same thing. - ``truncated: true`` means the window held more than the 5,000 sample cap. The newest samples are kept, so ``covered_from`` / ``covered_to`` report the interval actually returned, which can be shorter than the requested window. ``plc_snapshot`` ticks every 60s (10,080 samples over ``7d``), so narrow the window for full coverage. - Two clocks: ``time_period`` selects by when the platform *received* a sample, while each point's ``timestamp`` (and therefore ``covered_from`` / ``covered_to``) is what the device reported. On a badly-skewed device those can fall outside the requested window; that is the device's own account, not a filtering error. - 409 means two services of this kind claim the same entity id, so the samples cannot be attributed to one of them; the response names the claimants. Rate-limited per-device: 30 requests / minute, in one bucket shared with ``devices_get_services``, the per-sidecar tools, and ``devices_get_events(dedupe=False)``.

Parámetros de entrada

  • metricstringObligatorio

    Metric name for that service's kind. event_store: records, records_percent, images, bytes_used, bytes_percent, backed_up_records, backed_up_bytes_percent, pending_records, pending_bytes, draft_records, oldest_draft_age_seconds, disk_percent_used. plc_relay: connected. opcua_server: session_count, refused_total.

  • device_idstringObligatorio

    Device id

  • time_periodany

    Window, measured against platform receipt time. Default 24h.

  • service_namestringObligatorio

    Config name of the service, as returned by devices_get_services (not the kind).

Parámetros de salida

Sin parámetros.

Devices get snapshotROBOFLOW_MCP_DEVICES_GET_SNAPSHOTAcción

Get the full current state of a device in one call. Prefer this as the FIRST call when diagnosing a device — it aggregates what would otherwise take six requests: - ``device`` — identity, online/offline status, hardware summary, network interfaces, discovered cameras - ``streams`` — ``{total, running, data}`` including config-only (provisioning) streams - ``services`` / ``services_summary`` — per-service container status and healthy/total counts - ``telemetry`` — the latest non-empty 1h telemetry bucket (cpu, memory, disk, gpu, network throughput) - ``system_status`` — current docker daemon and NTP health - ``hardware`` — most recent startup hardware report - ``current_deployment`` — the live config revision with its exception/error issues and execution environment - ``recent_events`` — the 20 most recent lifecycle events Sections are best-effort: a failed section is ``null`` and named in the top-level ``errors`` array. Follow up with the focused tools (``devices_get_deployments``, ``devices_get_logs``, ``devices_get_telemetry``) for history and detail. The ``services`` section here is container status only. For typed sidecar state (is the PLC connected, is the event store full) call ``devices_get_services`` or the per-sidecar tools. Rate-limited per-device: 30 requests / minute.

Parámetros de entrada

  • device_idstringObligatorio

    Device id

Parámetros de salida

Sin parámetros.

Devices get stream optionsROBOFLOW_MCP_DEVICES_GET_STREAM_OPTIONSAcción

List every device's stream ids and inferred camera family. Requires the ``device:read`` scope. Stream URLs are never returned.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

Devices get telemetryROBOFLOW_MCP_DEVICES_GET_TELEMETRYAcción

Get aggregated hardware metrics and device health sections. Rate-limited per-device: 60 requests / minute steady, plus a burst limit of 10 requests / 10 seconds. By default returns ``{time_period, bucket_interval, fill_interval_seconds, buckets, stream_fps, system_status, services, hardware, network_interfaces, metadata}``: - ``buckets`` — cpu/memory/disk/gpu plus ``network_upload_bytes_per_sec`` / ``network_download_bytes_per_sec`` - ``stream_fps`` — one series per running pipeline (``pipeline_id``, ``stream_name``, ``stream_id``) with a ``buckets`` array in ascending time order, each entry ``{bucket_start, camera_fps, inference_fps}`` - ``system_status`` — per-bucket docker daemon and NTP health (``up`` / ``partial`` / ``missing``; ``missing`` = no telemetry samples in that bucket) - ``services`` — per-service container status with the latest container sample (image, cpu, memory); add ``service_history`` to ``include`` for per-bucket history - ``hardware`` — most recent startup hardware report (OS, CPU, Jetson/JetPack, GPU driver, uptime, NTP) - ``network_interfaces`` — most recent interface snapshot Pass ``include=metrics`` for the compact time-series-only response, or ``include=stream_fps`` when you only need camera vs. inference frame rates.

Parámetros de entrada

  • includeany

    Comma-separated sections: metrics, stream_fps, system_status, services, service_history, hardware, network_interfaces. Default is everything except service_history (per-service history arrays are large and opt-in).

  • device_idstringObligatorio

    Device id

  • time_periodany

    Aggregation window, which sets the bucket interval: 1h (2 min buckets), 24h (30 min, default), 7d (4 h), 14d (8 h).

Parámetros de salida

Sin parámetros.

Devices listROBOFLOW_MCP_DEVICES_LISTAcción

List devices registered in the workspace. Returns a list of Device objects with id, name, status, last_heartbeat, platform/hardware info, tags, and created_at. ``status`` is ``online`` if a heartbeat was received within the last 5 minutes, otherwise ``offline`` (or ``unknown`` for devices that have never reported). Requires the ``device:read`` scope. Device-scoped api_keys cannot call this endpoint and will receive 403.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • resultobject[]Obligatorio
Devices list eventsROBOFLOW_MCP_DEVICES_LIST_EVENTSAcción

List lifecycle events across every device in the workspace. Requires the ``device:read`` scope. For one device's events with dedupe control use ``devices_get_events``.

Parámetros de entrada

  • cursorany

    Cursor from the previous page.

  • eventsany

    Comma-separated event names.

  • end_timeany

    ISO-8601; default now.

  • device_idany

    Only this device's events.

  • directionany

    Pagination direction. Default backward.

  • entity_idany

    Only this entity's events.

  • page_sizeany

    Page size.

  • start_timeany

    ISO-8601; default 14 days ago.

  • entity_typeany

    'device' or 'stream'.

Parámetros de salida

Sin parámetros.

Devices migrations opt outROBOFLOW_MCP_DEVICES_MIGRATIONS_OPT_OUTAcción

Replace this workspace's device migration opt-out settings. Requires ``device:update`` on a workspace credential. Device-bound keys are rejected. Every call replaces the settings: omitted fields reset to the API defaults (enabled false, target_version 1.0.1, empty lists). Read the returned settings before changing them again. Changing migration eligibility does not start a migration.

Parámetros de entrada

  • enabledany

    Whether workspace migrations are eligible. Omitted defaults to false.

  • target_versionany

    Target device config schema version. Omitted defaults to 1.0.1.

  • device_denylistany

    Device IDs excluded from migration; omitted defaults to an empty list.

  • device_allowlistany

    Device IDs eligible for migration; an empty or omitted list allows all devices.

Parámetros de salida

Sin parámetros.

Devices os image createROBOFLOW_MCP_DEVICES_OS_IMAGE_CREATEAcción

Start building a ready-to-flash OS Lite image for a device. Requires the ``device:update`` scope on a workspace credential and the OS Lite image builder feature. For a Jetson Orin Nano, omitting ``config.release.format`` builds the USB recovery bundle. Set it to ``"card"`` for a microSD image only when the selected release has a card image available and the board's firmware is at least the release's ``requiresFirmware`` version. Raspberry Pi boards do not accept ``release.format``. Returns ``{jobId, reused, warnings}``; poll ``devices_os_image_get`` for status and the download link.

Parámetros de entrada

  • configobjectObligatorio

    Image config: {board, release?: {variant, version, format?: 'card'|'bundle'}, ethernet?, wifi?: {ssid, password}, login?: {password?, ssh_keys?, ssh_password_auth?}}.

  • device_idstringObligatorio

    Device id of a Roboflow OS device

Parámetros de salida

Sin parámetros.

Devices os image getROBOFLOW_MCP_DEVICES_OS_IMAGE_GETAcción

Get the device's in-flight or last finished OS Lite image job. Requires the ``device:update`` scope: the finished image embeds the device's credentials. Returns ``{job, boards, wifiAvailable, cardImages, osImage}``. ``cardImages`` is keyed by board ID. For Jetson Orin Nano, ``cardImages['jetson-orin-nano-devkit']`` reports whether the selected release offers a card image and its ``requiresFirmware`` minimum. The board entry is null when availability could not be checked. The job includes ``image_format`` and ``requires_firmware`` for the image being built (null for older jobs). Select a release with a card image and check the board firmware before requesting ``release.format="card"``.

Parámetros de entrada

  • variantany

    Release variant.

  • versionany

    Release version, default 'latest'.

  • device_idstringObligatorio

    Device id

Parámetros de salida

Sin parámetros.

Devices provisioning qrROBOFLOW_MCP_DEVICES_PROVISIONING_QRAcción

Mint the offline (Lite) provisioning QR payload for a device. Requires the ``device:update`` scope on a workspace credential and the workspace's roboflowLiteMode feature. Returns ``{installId, offlineProvisioningQrPayload}``.

Parámetros de entrada

  • device_idstringObligatorio

    Device id of an offline-mode device

Parámetros de salida

Sin parámetros.

Devices redeployROBOFLOW_MCP_DEVICES_REDEPLOYAcción

Mint a fresh install id to reinstall an existing device. Requires the ``device:update`` scope on a workspace credential. Returns ``{deviceId, installId, offlineProvisioningQrPayload?}``; the device runs ``GET /devices/v2/:installId/install.sh``.

Parámetros de entrada

  • device_idstringObligatorio

    Device id

Parámetros de salida

Sin parámetros.

Devices restart inferenceROBOFLOW_MCP_DEVICES_RESTART_INFERENCEAcción

Request a restart of the device's inference runtime. Interrupts running pipelines. This restarts inference, not the host operating system. Returns ``{id}`` for the queued command, not proof that the restart completed. Follow up with ``devices_get_snapshot`` or ``devices_get_events`` to verify recovery. Offline devices cannot execute commands; undelivered commands expire after 5 minutes. Do not retry automatically, because each call queues another restart.

Parámetros de entrada

  • device_idstringObligatorio

    Device id

Parámetros de salida

Sin parámetros.

Devices restart poe portROBOFLOW_MCP_DEVICES_RESTART_POE_PORTAcción

Request a power cycle of one camera's PoE port on supported edge hardware. Interrupts the camera and its stream while power is cycled. Choose the interface associated with the affected camera, not an arbitrary network interface. Returns ``{id}`` for the queued command, not a completed reset. Follow up with ``devices_get_events`` and ``devices_streams_get`` to verify recovery. Each call requests a new power cycle; undelivered commands expire after 5 minutes.

Parámetros de entrada

  • ifacestringObligatorio

    PoE interface for the affected camera, e.g. lan4 or eth2. The platform checks whether the device supports resetting this port.

  • device_idstringObligatorio

    Device id

  • stream_idany
  • pipeline_idstringObligatorio

    Exact pipeline_id from devices_streams_list or devices_streams_get. Pass it verbatim, including any percent escapes; do not decode it.

Parámetros de salida

Sin parámetros.

Devices send commandROBOFLOW_MCP_DEVICES_SEND_COMMANDAcción

Queue a command on the device's command channel. Requires the ``device:update`` scope. A returned ``id`` means a command was queued for the device's next poll. Stream config commands may instead return ``{id: null, staged: true}``; inspect ``devices_get_config.configProposal`` before claiming a live change. Camera-capture commands (``livesample``, ``trigger_stream``, and ``cloud_fallback`` starts) can return 403 with ``error_type=CAMERA_STREAM_DISABLED`` when workspace, device, or stream settings disable viewing. Other commands, including capture stops, remain available. Queued capture commands are checked again before device delivery, so a later opt-out can prevent execution. For a connectivity check from the device, use ``action='network_probe'`` and ``data`` with ``kind`` (``ping``, ``dns``, ``tcp`` or ``http``) and ``target`` (IP address or hostname up to 253 characters, with labels of at most 63 characters; not a URL or zone-scoped IP). Optional whole-number ``count`` is 1-10 and ``timeout_s`` is 1-15. ``port`` is 1-65535, required for TCP, optional for HTTP, and invalid for ping or DNS. ``scheme`` is ``http`` or ``https`` for HTTP only. Other fields are rejected. The returned ``id`` identifies the queued command, not a completed probe. Results arrive asynchronously in device monitoring under ``network_probes[id]``.

Parámetros de entrada

  • dataany

    Action arguments. For network_probe use {'kind': 'ping'|'dns'|'tcp'|'http', 'target': hostname_or_ip}; optional count (1-10), timeout_s (1-15), port (1-65535, required for tcp, allowed for http), and scheme ('http'|'https', http only). Use a hostname or IP, not a URL. No other probe fields are accepted.

  • actionstringObligatorio

    Command action, e.g. 'restart', 'pause_stream', 'resume_stream', 'trigger_stream', 'livesample', 'restart_poe_port', 'enumerate_cameras', 'network_probe'.

  • device_idstringObligatorio

    Device id

Parámetros de salida

Sin parámetros.

Devices set service versionROBOFLOW_MCP_DEVICES_SET_SERVICE_VERSIONAcción

Pin one service's version without replacing the rest of the config. Requires the ``device:update`` scope. Respects the maintenance window and queued changes. Returns ``{success, deferred}``; success means the config was saved, not that the device installed the version.

Parámetros de entrada

  • imagestringObligatorio

    The service's current image, including any queued update to it (devices_get_config shows both). A different image or a removed service returns 409.

  • servicestringObligatorioenum

    Service to pin.

    inferencemanager
  • versionstringObligatorio

    Docker tag to run, e.g. '1.2.3'.

  • device_idstringObligatorio

    Device id

Parámetros de salida

Sin parámetros.

Devices snooze alertsROBOFLOW_MCP_DEVICES_SNOOZE_ALERTSAcción

Snooze the device's health alerts for one day. Requires the ``device:update`` scope. Returns ``{deviceId, alerts_snoozed_until}``.

Parámetros de entrada

  • device_idstringObligatorio

    Device id

Parámetros de salida

Sin parámetros.

Devices streams capture frameROBOFLOW_MCP_DEVICES_STREAMS_CAPTURE_FRAMEAcción

Capture the stream's latest frame for a project. When the response has ``status="screening"``, the frame is held for an upload screening verdict and is not yet in the project. The returned project details identify the requested destination, not a frame ready to open or use. Otherwise the frame is added to the project. Requires ``device:read`` plus ``image:create`` on a credential not limited to project groups. Workspace, device, or stream privacy restrictions return 403 with ``error_type=CAMERA_STREAM_DISABLED``; other 403 responses can indicate missing upload permission.

Parámetros de entrada

  • device_idstringObligatorio

    Device id

  • stream_idstringObligatorio

    Stream id

  • frame_typeany

    'live' (default) or the last 'inference' frame.

  • project_idstringObligatorio

    Project to add the frame to

Parámetros de salida

Sin parámetros.

Devices streams createROBOFLOW_MCP_DEVICES_STREAMS_CREATEAcción

Create a stream on a device through the ``add_stream`` command. Requires the ``device:update`` scope. On V2 devices the platform applies this as a config update (``status: "applied"``, no command id) or stages it for production approval (``status: "staged"``). An applied stream shows in ``devices_streams_list`` as ``provisioning`` until the device reports it running. The Workflow may write to external integrations once the stream runs. For a direct Asset Library video stream on a supported edge release, use ``asset://<finalVideoId>`` as video_reference. Poll video_upload_status until ``uploaded`` and take the final videoId from that response, which can change after deduplication. The caller needs image:read and access to that video; the device API key needs image:read and access to its folder. For nearby-claimed runtime keys, use the RTSP Simulator. Direct playback needs network access for its first download, enough disk space, and a video within the device cache limit (1 GiB by default, set by ASSET_VIDEO_CACHE_MAX_BYTES). Use the reference directly in the stream, not in video_sources. RTSP Simulator remains an option.

Parámetros de entrada

  • fpsany

    Max frames per second to process.

  • modeany

    'triggered' runs the workflow only on devices_streams_trigger; default is continuous processing.

  • namestringObligatorio

    Stream name. Becomes the stream's key in the device config, so it must not collide with an existing stream on the device.

  • device_idstringObligatorio

    Device id

  • workflow_idstringObligatorio

    Workflow id the stream runs on each frame

  • workspace_nameany

    Workspace the workflow belongs to. Defaults to the calling workspace.

  • video_referencestringObligatorio

    Video source: asset://<finalVideoId> for a directly streamed uploaded Asset Library video on a supported edge release, an RTSP/HTTP URL, or a camera reference such as a device index or discovered-camera reference from devices_get_snapshot. Prefer credential-free references: credentials embedded in an RTSP URL are stored in the device config.

  • workflow_version_idany

    Pin the stream to a specific workflow version. Omit to track the latest published version.

  • workflow_input_paramsany

    Workflow input parameter values. Default {}.

Parámetros de salida

Sin parámetros.

Devices streams deleteROBOFLOW_MCP_DEVICES_STREAMS_DELETEAcción

Remove a stream's state document. Requires the ``device:update`` scope. Remove the stream from the device config too (``devices_update_config``), or the device recreates it.

Parámetros de entrada

  • device_idstringObligatorio

    Device id

  • stream_idstringObligatorio

    Stream id

Parámetros de salida

Sin parámetros.

Devices streams getROBOFLOW_MCP_DEVICES_STREAMS_GETAcción

Get a single stream by id. Returns the Stream object. Streams that exist only in the device config are returned as synthesized ``provisioning`` entries rather than 404; 404 only if the stream exists neither live nor in config. Includes structured ``error_code``, ``error_message``, and ``error_retryable`` alongside the legacy ``error`` text.

Parámetros de entrada

  • device_idstringObligatorio

    Device id

  • stream_idstringObligatorio

    Stream id

Parámetros de salida

Sin parámetros.

Devices streams listROBOFLOW_MCP_DEVICES_STREAMS_LISTAcción

List streams configured on the device. Returns a list of Stream objects, including streams that exist only in the device config and have not been reported by the device yet (``status: "provisioning"``, ``provisioning: true``). ``mode`` is ``"triggered"`` for trigger-driven streams, ``"continuous"`` otherwise. Credential-bearing fields (URL userinfo, ``password``, ``credential``, etc.) are redacted from the ``source`` and ``configured_source`` fields. ``id`` is the platform stream record, while ``pipeline_id`` is the runtime pipeline identifier. Use both values from the same object when pausing or resuming. Structured ``error_code``, ``error_message``, and ``error_retryable`` describe the latest status-event failure; null means the field was not reported.

Parámetros de entrada

  • device_idstringObligatorio

    Device id

Parámetros de salida

  • resultobject[]Obligatorio
Devices streams pauseROBOFLOW_MCP_DEVICES_STREAMS_PAUSEAcción

Request a pause of a running device stream without removing its config. ``pipeline_id`` targets the edge pipeline. Pass ``stream_id`` from the same Stream object when it is a platform record; omit it for a ``provisioning`` entry, whose id is only the stream name. Returns ``{id}`` for the queued command, not completed execution. Read ``devices_streams_get`` afterward to confirm the status. Undelivered commands expire after 5 minutes.

Parámetros de entrada

  • device_idstringObligatorio

    Device id

  • stream_idany
  • pipeline_idstringObligatorio

    Exact pipeline_id from devices_streams_list or devices_streams_get. Pass it verbatim, including any percent escapes; do not decode it.

Parámetros de salida

Sin parámetros.

Devices streams resumeROBOFLOW_MCP_DEVICES_STREAMS_RESUMEAcción

Request that a paused device stream resume processing. ``pipeline_id`` targets the edge pipeline. Pass ``stream_id`` from the same Stream object when it is a platform record; omit it for a ``provisioning`` entry, whose id is only the stream name. Returns ``{id}`` for the queued command, not completed execution. Read ``devices_streams_get`` afterward to confirm the status. Resuming a configured Workflow can execute external actions. Undelivered commands expire after 5 minutes.

Parámetros de entrada

  • device_idstringObligatorio

    Device id

  • stream_idany
  • pipeline_idstringObligatorio

    Exact pipeline_id from devices_streams_list or devices_streams_get. Pass it verbatim, including any percent escapes; do not decode it.

Parámetros de salida

Sin parámetros.

Devices streams sample frameROBOFLOW_MCP_DEVICES_STREAMS_SAMPLE_FRAMEAcción

Look at what a device camera sees right now. Returns the frame as an image plus ``image_url``: a signed URL, valid for an hour, that Workflow and model tools accept as an image input. Use it to design a Workflow against the real scene, then run the Workflow on ``image_url`` to check it before deploying to the device. Requires the ``device:update`` scope: when no frame is under 10s old the platform asks the device to start sending preview frames and waits. 504 means the device sent none in time (offline or stalled stream). Workspace, device, or stream privacy restrictions return 403 with ``error_type=CAMERA_STREAM_DISABLED``; other 403 responses can have different permission causes.

Parámetros de entrada

  • device_idstringObligatorio

    Device id

  • stream_idstringObligatorio

    Stream id, from devices_streams_list

  • timeout_secondsany

    How long the platform waits for the device to send a frame when none is current: 0-45, default 30.

Parámetros de salida

Sin parámetros.

Devices streams terminateROBOFLOW_MCP_DEVICES_STREAMS_TERMINATEAcción

Remove a stream from a device permanently. Requires the ``device:update`` scope. On V2 devices the stream is removed from the device config at once (``status: "applied"``), or the removal is held for production approval (``status: "staged"``). Otherwise a ``terminate_stream`` command is queued, and the device targets the pipeline by ``pipeline_id``. To stop processing temporarily use ``devices_streams_pause``. ``devices_streams_delete`` removes only monitoring state, so a configured stream comes back after it.

Parámetros de entrada

  • forceany

    When the stream is not in a V2 device config, also clear its monitoring record, frames and HLS objects. A configured V2 stream is cleared regardless.

  • device_idstringObligatorio

    Device id

  • stream_idany
  • pipeline_idstringObligatorio

    Exact pipeline_id from devices_streams_list or devices_streams_get. Pass it verbatim, including any percent escapes; do not decode it.

Parámetros de salida

Sin parámetros.

Devices streams triggerROBOFLOW_MCP_DEVICES_STREAMS_TRIGGERAcción

Request one Workflow execution on a trigger-driven device stream. The platform resolves the Workflow and workspace from the stream or device config. Camera capture must be allowed by workspace, device, or stream settings. A privacy refusal returns 403 with ``error_type=CAMERA_STREAM_DISABLED``. Queued capture commands are checked again before delivery, so a later opt-out can prevent execution. The Workflow may write to external integrations, so do not retry automatically. Returns ``{id}`` for the queued command, not inference output or proof of completion. Follow up with ``devices_get_events`` and ``devices_streams_get`` for status. Undelivered commands expire after 5 minutes.

Parámetros de entrada

  • device_idstringObligatorio

    Device id

  • stream_idany
  • pipeline_idstringObligatorio

    Exact pipeline_id from devices_streams_list or devices_streams_get. Pass it verbatim, including any percent escapes; do not decode it.

Parámetros de salida

Sin parámetros.

Devices streams updateROBOFLOW_MCP_DEVICES_STREAMS_UPDATEAcción

Merge fields into a stream's ``data`` map. Requires the ``device:update`` scope. To change what the stream runs, edit ``stream`` in the device config with ``devices_update_config``.

Parámetros de entrada

  • dataobjectObligatorio

    Stream data fields to merge, such as name, fps, videoReference, workflowId, workflowVersionId, workflowInputParams or mode. Unknown fields are rejected.

  • device_idstringObligatorio

    Device id

  • stream_idstringObligatorio

    Stream id

Parámetros de salida

Sin parámetros.

Devices updateROBOFLOW_MCP_DEVICES_UPDATEAcción

Rename a device, edit its environment variables, or set its workflow, live sampling or production mode. Requires the ``device:update`` scope. For runtime configuration (streams, services, versions) use ``devices_update_config``.

Parámetros de entrada

  • device_idstringObligatorio

    Device id

  • device_nameany

    New device name.

  • workflow_idany

    Device-level workflow_id metadata. It does not change what streams run; set config.stream.<id>.workflow_id with devices_update_config for that.

  • production_modeany

    Mark the device as production.

  • livesampling_enabledany

    Turn live sampling on or off; it expires after 5 minutes.

  • environment_variablesany

    Environment variables to set; a null value deletes that variable. Variables you omit are kept.

Parámetros de salida

Sin parámetros.

Devices update configROBOFLOW_MCP_DEVICES_UPDATE_CONFIGAcción

Update the device's runtime configuration. Requires ``device:update``. Uses JSON Merge Patch, so a small nested change preserves sibling settings; null explicitly deletes a key. Set ``config.camera_stream_disabled`` to true to stop live camera viewing on this device, or set ``config.camera_stream_disabled_streams`` to an array of stream names to stop viewing only those streams. The list is on ``config``, not inside ``config.stream.<name>``; arrays replace the whole list. Pending opt-outs restrict viewing immediately, including changes awaiting production approval or a maintenance window. A queued re-enable does not lift an active restriction until applied. Workspace-wide viewing is controlled in the session-authenticated web setting; its ``/query/workspace/updateCameraStreamDisabled`` route is unavailable to MCP credentials. Deployment-affecting changes wait for the next maintenance window when one is configured and not currently active. Schedule, timezone, and device name/type changes can apply immediately when approval is not required. Returns ``{success, staged: true, configProposal}`` when a production change awaits approval. This does not change live config. Otherwise returns ``{success, config, deferred}``; check ``deferred`` and ``config.pendingUpdates`` before claiming the change is live. Unapproved changes stay held through maintenance windows. MCP cannot approve a proposal. ``force_apply`` and ``immediate_delta`` are query-only controls, not fields in the config payload. Enabling Vision Events backup additionally requires the platform's ``vision-events:write`` scope. On supported edge releases, an uploaded workspace Asset Library video can be used directly: set config.stream.<stream-name>.video_reference to asset://<finalVideoId>, alongside its workflow_id and workspace_name. Do not put an asset reference in config.video_sources or use a signed download URL as the stream reference. The caller needs image:read and access to the uploaded video; the device API key also needs image:read and access to its folder. For nearby-claimed runtime keys, use the RTSP Simulator. Direct playback needs network access for its first download, enough disk space, and a video within the device cache limit (1 GiB by default, set by ASSET_VIDEO_CACHE_MAX_BYTES). Check staged, deferred, and pendingUpdates before treating the stream as active. The RTSP Simulator remains an option. For either path, call video_upload without project_id, PUT the bytes, and poll video_upload_status until "uploaded". Use the final videoId from that status response, which may differ after deduplication. For the simulator path, read the effective device config with devices_get_config before patching. Select an existing RTSP Simulator service or add one under services.<name>. For a new service, choose free host RTSP and web ports across published ports and service *PORT environment variables, including resolved $refs. Use the approved versioned simulator image tag in config.version.<name>, and set the service tag to {"$ref":"#/config/version/<name>"}; do not guess a tag. Use the image repo.roboflow.com/roboflow-edge/rtsp-simulator, restart="unless-stopped", and the persistent volume /var/lib/rfdm/rtsp-simulator/data:/data. Set RTSP_PORT and WEB_PORT to the selected ports and give it ROBOFLOW_API_KEY and API_BASE_URL environment variables as references to #/roboflow_api_key and #/api_base_url. Set RTSP_SIMULATOR_CONFIG to a JSON string with source="asset_library", the workspace slug, the final video_id, and upload_settings and stream_settings. For example the simulator defaults are target_fps=null, crf_quality=23, max_width=null, max_bitrate_kbps=5000, buffer_size_kb=3000, max_delay_ms=500. In the same config patch, set config.stream.<stream-name>.video_reference to rtsp://127.0.0.1:<host-RTSP-port>/stream, with its workflow_id and workspace_name. Loopback works only when inference uses host networking. Check staged, deferred, and pendingUpdates before treating the stream as active. New or changed ``config.kiosk.outputs`` selections require the workspace display controls feature and a fresh report from that device showing a connected, configurable connector. An explicit mode id must be selectable in that report; ``auto`` also requires a fresh compatible report. Removing an existing connector override with null returns it to automatic mode and remains possible without the feature or a fresh report. MCP cannot read the display report because its endpoint requires a Firebase session cookie. Choose a connector and mode from the current report in Device Manager.

Parámetros de entrada

  • configobjectObligatorio

    JSON Merge Patch: nested objects merge recursively, omitted keys are preserved, null removes a key, and arrays replace the whole array. Send only the fields you intend to change. By default the patch merges into active config plus queued pending changes. Set config.kiosk.outputs.<connector>.mode to a selectable mode id or 'auto'; set the connector to null to remove its override. Do not write pendingUpdates or configProposal directly.

  • device_idstringObligatorio

    Device id

  • force_applyany

    Request immediate application of the effective config, including queued changes. Production approval can still block this request. Mutually exclusive with immediate_delta=true.

  • immediate_deltaany

    Request immediate application of only this patch while preserving unrelated queued changes. Use for an operational change that must not deploy pending service updates. Production approval can still block this request. Mutually exclusive with force_apply=true.

Parámetros de salida

Sin parámetros.

Devices update default configROBOFLOW_MCP_DEVICES_UPDATE_DEFAULT_CONFIGAcción

Replace the workspace default device config patch. Requires the ``device:update`` scope. The merged result is validated against the RFDM config schema (400 with ``details`` on failure). New devices start from this config except display mode selections. The workspace default patch may retain or remove existing ``config.kiosk.outputs`` selections, but cannot add or change them. Choose display modes on each device after it reports its monitors.

Parámetros de entrada

  • patchobjectObligatorio

    The workspace's whole patch over the base default config. It replaces the existing patch; read devices_get_default_config first.

Parámetros de salida

Sin parámetros.

Folders listROBOFLOW_MCP_FOLDERS_LISTAcción

List the workspace folders visible to this credential. Returns ``{ folders: [{id, name, parent_id, child_ids, projects, external_id}, ...] }``. ``projects`` holds the URLs of the projects in the folder; ``parent_id`` and ``child_ids`` describe the folder tree. ``child_ids`` names only folders this credential can list, but ``parent_id`` is the platform's value, so the top of a folder-scoped credential's subtree can point at a folder that is not in the list. A folder-scoped credential sees only its own folders. An empty list means no folders are visible to this credential, not necessarily that the workspace has none. Pass ``folder_id`` to fetch a single folder; an unknown id also yields an empty list.

Parámetros de entrada

  • folder_idany

    Return only this folder (its platform folder id). Omit to list every folder visible to the credential.

Parámetros de salida

Sin parámetros.

Get aws storage credential setup linkROBOFLOW_MCP_GET_AWS_STORAGE_CREDENTIAL_SETUP_LINKAcción

Get a Roboflow app link to set up an AWS S3 storage credential. This tool does not create a credential. It returns ``manual_entry_required`` with a ``url`` for the Roboflow form, a ``docs_url`` for prerequisites, and ``aws_setup`` guidance for the correct AWS account. Only the non-secret name, credential_type, and description are passed here. The user enters AWS access keys or role details in the Roboflow app, never in chat or this tool. IAM uses AWS access keys; AssumeRole uses an AWS IAM role. Recommend a credential dedicated to Roboflow with read-only or bucket-scoped access. After the user completes the form, use credentials_list to find its id.

Parámetros de entrada

  • namestringObligatorio

    Display name for the credential

  • descriptionany

    Optional description

  • credential_typestringObligatorioenum

    Credential type. Both are for AWS/S3 buckets: IAM (AWS access keys) or AssumeRole (AWS IAM role).

    IAMAssumeRole

Parámetros de salida

Sin parámetros.

Images add to projectROBOFLOW_MCP_IMAGES_ADD_TO_PROJECTAcción

Add existing workspace Asset Library images or videos to a project (async). Use for sources already in the workspace: media_upload_finalize results (`sourceId` / `videoAssetId`), cloud-storage datasource mirrors, or images in another project. A newly uploaded video is addable only after ingestion; until then this returns 404 "Image not found in workspace", so retry later. If it still 404s after a few minutes, ingestion failed or merged it: tell the user. Find ids or build the filter with images_workspace_search. To upload new local images, prefer image_upload_files when the host can supply them in its files input; if you would have to invent download_url or file_id, use image_upload if the client can ZIP and PUT to storage. For videos, prefer image_upload_files only for video-only projects when the host can supply the selected files in its files input. If you would have to invent download_url or file_id, use the signed-URL fallback. For other project types, use video_upload; also use it when host transfer cannot handle the video. video_upload requires a client that can PUT bytes to the signed URL. If storage is unreachable, use the web uploader. The source stays owned by the workspace: the project gets an association, not a copy. Added sources land in one new batch (`batchId`). Images and videos cannot be added together; the task fails on a mix. API keys and OAuth tokens restricted to folders get a 403. Returns `{ taskId, projectId, selectionMode, imageCount?, url, ... }`. Poll async_tasks_get(task_id) until status is `completed` or `failed`. A completed result has `batchId` (null when nothing new was added), `imagesLinked`, `imagesSkipped` (already in the project, removed, or filtered out by media type) and `annotationsCopied`. Added sources are not in the Dataset yet, so training cannot use them. Sources without labels: annotate them with add_to_dataset=true on annotations_save (images) or video_segments_annotate (Action Recognition videos). Sources that arrive labeled (copy_annotations_from_project_id, or labels the project already shares): create a job from `batchId` with annotation_jobs_create, then annotation_jobs_accept_into_dataset.

Parámetros de entrada

  • queryany

    Structured RoboQL filter selecting every matching source (e.g. 'tag:review', 'project:my-project metadata:camera=cam1'). Free-text semantic and visual-similarity search are not supported. '*' selects the whole Asset Library; use it only when the user asks for that. Use this or image_ids, not both.

  • image_idsany

    Asset Library source ids to add (1 to 500). Image ids or video ids (videoAssetId). Use this or query, not both.

  • project_idstringObligatorio

    Target project slug (e.g. 'my-project'); 'workspace/my-project' is also accepted.

  • media_typesany

    Media types the query resolves. Default: ['video'] for video-only projects (e.g. Action Recognition), ['image'] otherwise. Only valid with query; each image id carries its own type.

  • source_project_idany

    Project (slug or id) whose Dataset limits the query. Images only in its unassigned or annotating batches do not match; put 'project:<slug>' in query to match every member. Only valid with query.

  • copy_annotations_from_project_idany

    Project (slug or id) to copy existing annotations from, for added sources that have none in the target.

Parámetros de salida

Sin parámetros.

Images batch update metadataROBOFLOW_MCP_IMAGES_BATCH_UPDATE_METADATAAcción

Batch-update metadata and tags on multiple images (async). Each item in updates must contain an 'imageId' and at least one mutation bucket. Same conflict rules as the single-image endpoint. Returns { taskId, url } with status 202. Poll completion via async_tasks_get with the returned taskId.

Parámetros de entrada

  • updatesobject[]Obligatorio

    List of update objects, each with 'imageId' (required) and at least one of: 'metadata', 'removeMetadata', 'addTags', 'removeTags'. Max 1000 items.

Parámetros de salida

Sin parámetros.

Images screening statusROBOFLOW_MCP_IMAGES_SCREENING_STATUSAcción

Read what happened to an image held by upload screening. Returns the image ID and status: pending, passed, redacted, rejected, failed or duplicate. A failure may include a reason code. A duplicate may include resolvedId when you can see the resulting Source. This screening outcome does not establish Dataset readiness: pending images are still held, and rejected or failed images do not enter the project. For an annotation accepted while held, check this verdict and resolvedId for duplicates; a rejected or failed image loses its deferred annotations. A 404 can mean the image was never held, does not exist, or is inaccessible.

Parámetros de entrada

  • image_idstringObligatorio

    ID returned for an image upload held for screening.

Parámetros de salida

Sin parámetros.

Images searchROBOFLOW_MCP_IMAGES_SEARCHAcción

Search images in one project by what they show, with optional filters. query is semantic search: results are ranked by how well they match the text, but the query does not narrow them, so total does not change with it. Narrow results with tag, class_name, in_dataset, batch, batch_id, annotation_job and annotation_job_id. There is no split filter here. For RoboQL (split:, metadata:, filename:, NOT, OR, and so on), use images_workspace_search with project:<slug> in the query, e.g. 'project:my-project split:valid'. Returns { offset, total, results }.

Parámetros de entrada

  • tagany

    Filter results by tag

  • batchany

    true keeps only images that are in a batch. false does not filter.

  • limitinteger

    Maximum number of results (the API returns at most 250)

  • querystring

    Plain-language description of the images to find (e.g. 'forklift near a loading dock'). It ranks results by similarity and does not filter them, so RoboQL such as 'split:valid' has no effect here. Leave empty to list images using only the filters.

  • fieldsany

    Fields to include in each result. Defaults to id, annotations, labels, split and owner. Include 'url' to access the image directly. Filters such as in_dataset or batch are parameters of this tool, not fields.

  • offsetinteger

    Result offset for pagination

  • batch_idany

    Filter to a specific batch id

  • class_nameany

    Filter results by class name

  • in_datasetany

    true keeps only images in the project's Dataset. false does not filter: it is the same as leaving this out. For images that are not in the Dataset, use images_workspace_search with 'project:<slug> NOT dataset:<slug>'.

  • like_imageany

    Find images visually similar to this image id/name

  • project_idstringObligatorio

    Project slug (e.g. 'my-project'); 'workspace/my-project' is also accepted.

  • media_typesany

    Media to include: 'image', 'video', or both. Defaults to images only.

  • annotation_jobany

    true keeps only images assigned to an annotation job. false does not filter.

  • annotation_job_idany

    Filter to a specific annotation job id

Parámetros de salida

Sin parámetros.

Images update metadataROBOFLOW_MCP_IMAGES_UPDATE_METADATAAcción

Update metadata and tags on a single image. Metadata and tags can be useful to find images later in the platform. Common metadata include photo location, camera, date. Provide at least one of: metadata, remove_metadata, add_tags, remove_tags. The same key cannot appear in both metadata and remove_metadata; the same tag cannot appear in both add_tags and remove_tags. Returns { success: true } on success.

Parámetros de entrada

  • add_tagsany

    Tags to add (alphanumeric, hyphens, underscores; max 64 chars each)

  • image_idstringObligatorio

    Source image ID to update

  • metadataany

    Key-value pairs to set on user_metadata (values can be strings, numbers, or booleans)

  • remove_tagsany

    Tags to remove

  • remove_metadataany

    Metadata keys to remove

Parámetros de salida

Sin parámetros.

Images workspace searchROBOFLOW_MCP_IMAGES_WORKSPACE_SEARCHAcción

Search images across the entire workspace using RoboQL. The workspace is determined automatically from the API key — no workspace or project parameter is needed. Just provide a query. Use RoboQL syntax to filter by project, Dataset membership, split, class, tag, metadata, and more; combine filters with AND, OR, NOT and parentheses. Quote filter values that contain wildcards or spaces, for example ``filename:"frame_*"``. For compatibility, clearly unquoted filename wildcards such as ``filename:frame_*`` are quoted before the query is sent. This is the tool for split filters and other RoboQL queries scoped to one project: add project:<slug>. Request the `url` field when you need a direct image URL. Returns results with a continuationToken for pagination. To put results into a project, pass their ids (or the same structured query and media_types) to images_add_to_project.

Parámetros de entrada

  • querystring

    RoboQL query string; leave empty to list all images. Examples: 'tag:review', 'project:my-project split:valid', 'project:my-project metadata:camera=cam1', or 'project:my-project NOT dataset:my-project' (images in the project but not in its Dataset).

  • fieldsany

    Fields to include in each result. Include 'url' to access the image directly.

  • page_sizeinteger

    Maximum number of results per page

  • media_typesany

    Media to include: 'image', 'video', or both. Defaults to images only.

  • continuation_tokenany

    Token from a previous response to fetch the next page

Parámetros de salida

Sin parámetros.

Image uploadROBOFLOW_MCP_IMAGE_UPLOADAcción

Prepare a signed URL for uploading a zip of images, annotations or MP4/MOV videos. Use image_upload_files when the host supplies the selected files in its files input. If you would have to invent download_url or file_id, use this signed-URL flow instead when the client can ZIP and PUT the files. Use this fallback only when host-assisted file transfer is unavailable or cannot handle the selected files, and the client can zip them and HTTP PUT to the signed URL. If its sandbox cannot reach storage, do not keep retrying the PUT; use host-assisted transfer or direct the user to the web uploader. This tool does not read, zip, or upload files. To mirror images from cloud storage (S3/GCS), use the datasource tools. Returns a signed upload URL, task ID, and client-side instructions. File bytes are transferred by the client in this flow. Requires the project slug, plus optional split, batch name, tags and annotation_overwrite. Local file paths are used by the client after this tool returns, not passed here. Remaining steps after this returns (detailed in the response instructions): 1. Zip the images and any annotation files (even one image → zip). Paths inside the zip set splits: train/, valid/ and test/ folders override the split argument per image. 2. HTTP PUT the zip to signedUrl. 3. Poll image_upload_status(task_id) every few seconds until completed or failed. Videos in ZIPs require a video-only project (such as Action Recognition). Poll video_upload_status for every result.videoIds entry after ZIP processing; use the final videoId from each uploaded response. result.videoIds stops at 100 IDs; if result.videosStaged exceeds that list length or failedChunks > 0, counts may be incomplete. Find remaining videos with images_search(project_id, media_types=["video"]), poll video_upload_status for unverified videos, and report a partial import if they cannot all be accounted for. Image projects skip videos, and video-only projects skip images. Inspect warnings and errors, even when the ZIP task completed. For one raw video up to 3 GB, use video_upload. Annotation files in the zip are imported with the same parser as the web uploader: COCO JSON (e.g. one _annotations.coco.json per split folder), YOLO TXT (with data.yaml or classes.txt for class names), Pascal VOC XML, CreateML JSON, CSV, and the other formats it accepts. Annotations are matched to images by file name. In classification projects, an image's parent folder is its class (cat/img1.jpg). Check result.screening after polling: it is included in result.uploaded, and counts images held for a screening verdict. ZIP completion does not make those images available in the project or Dataset. Passed or redacted images become available later; rejected or failed images do not. The ZIP result does not report their final verdicts. result.annotated may include annotations accepted for held images; it does not prove they reached a Source. Rejection or failure discards them. For images not held for screening, annotations go straight into the Dataset (or a review job when annotation review is on); images without annotations land in a batch to label with annotations_save and add_to_dataset=true before training. An image already in the project counts as a duplicate and is not stored again, but its annotation from the zip is still saved. An image that already has an annotation in this project's annotation group (for example from another project in the workspace that uses the same group) keeps it and is listed in annotationErrors, unless annotation_overwrite is true. Up to 2 GB / 10k files. Signed URL expires in 1 hour.

Parámetros de entrada

  • splitstringenum

    Fallback split, used only for images whose path inside the zip has no split folder. A train, valid or test folder (also training, validation, val or testing) anywhere in an image's path overrides this per image.

    trainvalidtest
  • tag_namesany

    Tags to attach to every uploaded image or video

  • batch_nameany

    Name for the batch that holds images without annotations and for the annotation job created for images with annotations. Defaults to 'Uploaded via API'.

  • project_idstringObligatorio

    Project slug (e.g. 'my-project'); 'workspace/my-project' is also accepted.

  • business_contextany

    Brief description of the business problem this upload addresses, if the user has shared one.

  • annotation_overwriteboolean

    Replace annotations that images already have in this project with the ones in the zip. Without it, such an image keeps its annotation and is listed in annotationErrors as 'Image was already annotated'. Classification labels are always replaced.

Parámetros de salida

Sin parámetros.

Image upload filesROBOFLOW_MCP_IMAGE_UPLOAD_FILESAcción

Upload images or MP4/MOV videos into a project through the host's file transfer bridge. Use this when the host supplies the selected files in the files input, including when it exposes local paths and transfers them for you. If you would have to invent download_url or file_id, use image_upload or video_upload instead when the client can PUT the bytes. Do not invent file references or put file bytes in tool arguments. The Roboflow server downloads the supplied files and uploads them as one zip. No terminal ZIP or PUT is needed, including when the code sandbox cannot reach storage. Fall back to image_upload only when the bridge is unavailable or cannot handle the selected files, and the client can zip and HTTP PUT them to storage. An authentication, validation, or server error does not by itself mean the bridge is unavailable. For image projects, pass images plus any annotation files, matched to images by file name (COCO JSON, YOLO TXT with data.yaml or classes.txt, Pascal VOC XML, CreateML JSON, CSV), or one zip on its own. A zip keeps its folders, so train/, valid/ and test/ folders set each media file's split. Up to 100 files and 1 GB total per call; send larger file counts as one zip within that limit. For video-only projects (such as Action Recognition), pass MP4/MOV videos or a zip containing them. Videos remain native videos, not extracted frames. Image projects skip videos; video-only projects skip images, with warnings. Do not treat a mixed batch as fully imported without checking those warnings. When the host cannot transfer videos, use video_upload for a raw video or image_upload for a ZIP, only if the client can PUT to storage. Returns a taskId once the files are uploaded. Poll image_upload_status(task_id) every few seconds until it is completed or failed. Inspect uploadErrors, annotationErrors and warnings. For videos, ZIP completion only means staging: then poll video_upload_status for every result.videoIds entry until uploaded or failed. Use the final videoId from each uploaded response (deduplication can change it). result.videoIds stops at 100 IDs while result.videosStaged counts videos from successful chunks. If videosStaged exceeds the returned list length or failedChunks > 0, counts may be incomplete. Find remaining videos with images_search(project_id, media_types=["video"]), poll video_upload_status for unverified videos, and report a partial import if they cannot all be accounted for. Check result.screening: it is included in result.uploaded but those images await a verdict, so ZIP completion does not mean they are available in the project or Dataset. Passed or redacted images become available later; rejected or failed images do not. result.annotated may include annotations accepted for held images; ZIP completion does not prove they reached a Source. Rejection or failure discards them. For images not held for screening, annotations go straight into the Dataset; images without them land in a batch to label with annotations_save.

Parámetros de entrada

  • filesobject[]Obligatorio

    User-selected images plus annotation files, MP4/MOV videos for a video-only project, or a single zip of them. Supply files through the host's file transfer bridge using its exposed schema.

  • splitstringenum

    Split for loose media. Inside a zip, a train, valid or test folder in a media file's path overrides this per file.

    trainvalidtest
  • tag_namesany

    Tags to attach to every uploaded image or video

  • batch_nameany

    Name for the batch that holds images without annotations and for the annotation job created for images with annotations. Defaults to 'Uploaded via API'.

  • project_idstringObligatorio

    Project slug (e.g. 'my-project'); 'workspace/my-project' is also accepted.

  • business_contextany

    Brief description of the business problem this upload addresses, if the user has shared one.

  • annotation_overwriteboolean

    Replace annotations that images already have in this project with the uploaded ones. Without it, such an image keeps its annotation and is listed in annotationErrors as 'Image was already annotated'.

Parámetros de salida

Sin parámetros.

Image upload statusROBOFLOW_MCP_IMAGE_UPLOAD_STATUSAcción

Check the status of an image or video ZIP upload task. Use after the zip has been PUT to the signed URL (image_upload step 2), or after image_upload_files returns. Poll every 3–5 seconds until status is completed or failed. Returns status (created, running, completed or failed), progress, and, once finished, a result with uploaded, duplicates and annotated image counts, videosStaged and videoIds, plus uploadErrors, annotationErrors and warnings (for example annotations that matched no image, or ignored files). Error lists stop at 100 entries. Screening appears when positive and is included in result.uploaded, but those images are held pending a verdict. A completed ZIP task does not make them available in the project or Dataset. Passed or redacted images become available later; rejected or failed images do not. This response has no final per-image screening verdicts. Preserve and report the screening count separately from images ready for use. result.annotated may include annotations accepted for held images; ZIP completion does not prove they reached a Source. Rejection or failure discards them. When screening is absent, ordinary upload behavior applies. A completed ZIP task does not mean its videos finished ingesting: poll video_upload_status for every result.videoIds entry until uploaded or failed, even when the ZIP task failed after staging some videos. Use the final videoId from each uploaded response. result.videoIds stops at 100 IDs, while result.videosStaged counts videos from successful chunks. If videosStaged exceeds the returned list length or failedChunks > 0, counts may be incomplete. Find remaining videos with images_search(project_id, media_types=["video"]), poll video_upload_status for unverified videos, and report a partial import if they cannot all be accounted for. Check errors and warnings before reporting success; image projects skip videos and video-only projects skip images. Status stays "created" until the first chunk finishes; progress gets a total as soon as processing starts. If the task is still "created" with no progress 10 minutes after a successful PUT, the zip was not processed (for example it held no supported media files): stop polling, fix the input files and retry using the upload selection rules below. The zip is processed in chunks. If any chunk fails, status is "failed", failedChunks is above 0, and uploadErrors holds an entry whose path names the chunk (e.g. "chunk-0"). That chunk's images may already be stored without their annotations, and its counts are missing from the totals. Re-uploading the same files is safe and repairs this: stored images come back as duplicates and their missing annotations are saved. Images whose annotations were saved the first time are then listed in annotationErrors as "Image was already annotated", which is expected. For retries, use image_upload_files when the host supplies fresh selected files in its files input. If you would have to invent download_url or file_id, use the signed-URL fallback instead. Use image_upload only when host-assisted transfer is unavailable or cannot handle those files, and the client can ZIP and PUT to storage. A failed import does not by itself mean the file transfer bridge is unavailable. If sandbox networking blocks storage, use host-assisted transfer or the web uploader instead of retrying signed PUTs.

Parámetros de entrada

  • task_idstringObligatorio

    Task ID from the image_upload or image_upload_files response

Parámetros de salida

Sin parámetros.

List skillsROBOFLOW_MCP_LIST_SKILLSAcción

Discover Roboflow workflow guidance when native skills/list is unavailable. Use for Roboflow workflows and interactive apps. Returns descriptions and file manifests, not full instructions. Read the relevant SKILL.md with resources/read, or read_skill when the client cannot read resources. Follow nextCursor to list additional skills.

Parámetros de entrada

  • cursorany

    nextCursor from a previous listing

Parámetros de salida

Sin parámetros.

Media analyzeROBOFLOW_MCP_MEDIA_ANALYZEAcción

Analyze an image or short video with a vision model to understand its contents. Returns a structured analysis: a summary, the distinct objects present with approximate counts, the best-fitting CV task (detection, segmentation, classification, OCR, tracking...), candidate class names, whether those classes fall within the 80 COCO classes (drives model-family selection), motion notes for video, and workflow recommendations. Pass any public HTTPS URL directly — image results from images_search, images_workspace_search, or universe_dataset_images_search already include a usable `url` field. For a local file on the user's machine, call media_upload first and analyze the URL it produces. This is a stateless one-shot primitive: nothing is recorded in a conversation. Costs workspace credits (one vision-model call per invocation). Storage allows videos up to 100 MB, but ANALYSIS is capped at ~15 MB by the vision gateway's url fetcher; trim longer footage before analyzing.

Parámetros de entrada

  • urlstringObligatorio

    Public HTTPS URL of the image or video to analyze.

  • questionany

    Optional focus question, phrased in the context of the user's goal.

  • media_typestringenum

    Kind of media at the URL.

    imagevideo

Parámetros de salida

Sin parámetros.

Media trimROBOFLOW_MCP_MEDIA_TRIMAcción

Cut a clip from an Asset Library video and get an analyzable public url. Use after media_upload_finalize returns `needsTrim: true`. The simplest call is media_trim(video_asset_id) with no window: the server cuts the longest clip the ~15 MB analysis budget allows from the start (typically up to ~95 seconds; often the entire video, since long windows are re-encoded, downscaled to at most 1280px, to fit). Pass start_seconds/duration_seconds only when your user cares about a specific segment. The response tells you exactly what happened: `clipSeconds` (what was actually cut), `requestedSeconds`, `clamped: true` when the server shrank the window, plus authoritative `videoDurationSeconds` and `maxClipSeconds` from the server-side probe. Report the real clipSeconds to your user; to cover the rest of a long video, cut the next clip at start_seconds + clipSeconds and repeat. Only the published clip is re-encoded; the full-quality video stays untouched in the Asset Library.

Parámetros de entrada

  • start_secondsnumber

    Where the clip starts, in seconds.

  • video_asset_idstringObligatorio

    The videoAssetId returned by media_upload_finalize.

  • duration_secondsany

    Clip length in seconds. Omit to cut as much as fits the analysis budget from start_seconds (the server decides the maximal window).

Parámetros de salida

Sin parámetros.

Media uploadROBOFLOW_MCP_MEDIA_UPLOADAcción

Prepare a local image or video for analysis with media_analyze. Returns a short-lived signed upload URL plus step-by-step instructions; the upload itself completes client-side (the MCP server never receives file bytes). After the PUT, call media_upload_finalize to validate the bytes. For images and small videos it returns a durable `url` to pass straight to media_analyze; for videos over the analysis budget it returns `needsTrim: true` with a `videoAssetId`, and you call media_trim to get the analyzable clip url. Only needed for files on the user's machine; media already reachable by an HTTPS URL (including Roboflow-hosted images) can go straight to media_analyze. To put a video into a project (e.g. for annotation), prefer image_upload_files only for video-only projects when the host supplies it in the files input. If you would have to invent download_url or file_id, use video_upload. For other project types, use video_upload because ZIP imports skip videos. Also use video_upload when host transfer cannot handle the video. It requires a client that can PUT bytes to the signed URL; if storage is unreachable, use the web uploader. Finalized images and videos are saved into the workspace Asset Library (reusable across the workspace; re-uploading identical bytes reuses the existing asset instead of duplicating it). The analyzable copy ends up on a public CDN at an unguessable URL. To put a finalized image into a project, pass its `sourceId` to images_add_to_project.

Parámetros de entrada

  • filenameany

    Filename of the local file, e.g. 'floor.jpg'.

  • media_typestringenum

    Kind of file being uploaded.

    imagevideo

Parámetros de salida

Sin parámetros.

Media upload finalizeROBOFLOW_MCP_MEDIA_UPLOAD_FINALIZEAcción

Validate a staged upload (from media_upload) and publish it. Checks the uploaded bytes match the declared media type and size limits. Images become workspace Asset Library assets (the response includes their `sourceId`) and return a durable public `url` to pass to media_analyze. Videos always become Asset Library records (`videoAssetId`). Small videos also return a durable `url` right away (`needsTrim: false`). Videos over the analysis budget return `needsTrim: true`: call media_trim(video_asset_id) with no window to get the maximal analyzable clip, and read the authoritative numbers from its response. If you passed duration_seconds here, the response also includes `maxClipSeconds` and `wholeVideoFits` (true when one clip covers the entire video, so there is nothing to ask the user). Ask YOUR USER which segment matters only when the video is longer than one clip can cover. The full video stays in the Asset Library either way. The staged object is removed whether validation passes or fails, so a failed finalize means starting over with a fresh media_upload. To add the finalized asset to a project, pass its `sourceId` or `videoAssetId` to images_add_to_project. A new video becomes a Source only after ingestion finishes (seconds to minutes); until then images_add_to_project returns 404 "Image not found in workspace". Retry later, or look up its final id with images_workspace_search(media_types=['video']), since ingestion can merge identical bytes into an existing video. If it still 404s after a few minutes, ingestion failed or merged it: tell the user instead of retrying.

Parámetros de entrada

  • media_typestringenum

    Kind of file that was uploaded.

    imagevideo
  • staging_pathstringObligatorio

    The stagingPath returned by media_upload.

  • duration_secondsany

    Video duration in seconds, if known (e.g. from ffprobe on the local file). Enables the maxClipSeconds hint in the response for oversized videos.

Parámetros de salida

Sin parámetros.

Meta feedback sendROBOFLOW_MCP_META_FEEDBACK_SENDAcción

Send product feedback about Roboflow to the Roboflow team. Records a bug report, missing-feature request, UX friction note, or documentation issue against the current workspace. Use when the user wants to report a problem with Roboflow or send feedback. Returns confirmation that the feedback was recorded.

Parámetros de entrada

  • messagestringObligatorio

    What happened, what was expected, or what's missing

  • categorystringenum

    Type of feedback

    bugmissing-featureux-frictiondocs-issue
  • tool_nameany

    Which tool this relates to, if any

Parámetros de salida

Sin parámetros.

Meta survey opt outROBOFLOW_MCP_META_SURVEY_OPT_OUTAcción

Stop asking the MCP outcome survey permanently, only when the user requests it. This changes the preference for the signed-in user. API keys identify a credential, not a person, so it applies to everyone sharing that key.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

Model evals compareROBOFLOW_MCP_MODEL_EVALS_COMPAREAcción

Compare models trained on or uploaded to one dataset version. Returns the project, version, selected frontier metric, available metrics, and one compact record per model. Each record includes evaluation metrics, median latency, exclusion reason, and server-computed frontier membership. Frontier membership indicates a speed/accuracy tradeoff, not a model recommendation or selection. This tool is read-only and starts no jobs.

Parámetros de entrada

  • project_idstringObligatorio

    Project URL slug.

  • version_numberintegerObligatorio

    Dataset version number.

  • frontier_metricany

    Metric for accuracy and frontier membership. Uses the project default when omitted.

Parámetros de salida

Sin parámetros.

Model evals getROBOFLOW_MCP_MODEL_EVALS_GETAcción

Get the top-level summary for a single model evaluation. Returns the eval metadata plus a ``summary`` of mAP / precision / recall on done evals, and an ``app_url`` deep link into the UI panel. The ``modelUrl`` field is the resolvable public model id (feed it to ``models_get`` / ``models_infer``); ``modelId`` is the eval's internal id. The ``model_evals_get_*`` result tools only work once ``status`` is ``done``; while it is ``pending`` or ``running``, poll this tool first.

Parámetros de entrada

  • eval_idstringObligatorio

    Model evaluation id.

Parámetros de salida

Sin parámetros.

Model evals get confidence sweepROBOFLOW_MCP_MODEL_EVALS_GET_CONFIDENCE_SWEEPAcción

Get the precision/recall/F1 confidence sweep for an eval. For each split returns ``perThreshold`` (metrics keyed by threshold like ``"0.20"``), the ``optimalThreshold`` and ``optimalMetrics``, and ``perClass`` sweeps.

Parámetros de entrada

  • eval_idstringObligatorio

    Model evaluation id.

Parámetros de salida

Sin parámetros.

Model evals get confusion matrixROBOFLOW_MCP_MODEL_EVALS_GET_CONFUSION_MATRIXAcción

Get the confusion matrix for an eval. Returns ``{split, confidenceThreshold, classes, matrix}`` where ``matrix[actual][predicted]`` is the count.

Parámetros de entrada

  • splitany

    Split to inspect — defaults to 'test'.

  • eval_idstringObligatorio

    Model evaluation id.

  • confidenceany

    Integer confidence threshold 0-100. Most evals store results only at 1, 10, 20, 30, 40, 50, 60, 70, 80, 90 and at each split's optimalThreshold from model_evals_get_confidence_sweep (times 100), so other values fail. Omit to use the eval's default threshold (20 for most evals).

Parámetros de salida

Sin parámetros.

Model evals get image predictionsROBOFLOW_MCP_MODEL_EVALS_GET_IMAGE_PREDICTIONSAcción

Get per-image prediction stats for an eval (paginated). Returns ``{split, confidenceThreshold, totalImages, offset, limit, images: [...]}``. Each image carries TP/FP/FN counts, precision, recall, F1, the assigned cluster, and a per-class confusion list. Select by image_name or eval_input_id to inspect a specific input. Set include_geometry to include its saved predictions, ground truth, image URL, coordinate space, and media evidence when available. If one image has multiple evaluated inputs, use eval_input_id and split to select one; geometry requests with multiple matches return 400.

Parámetros de entrada

  • limitany

    Page size (default 200, max 1000).

  • splitany

    Split to inspect — defaults to 'test'.

  • offsetany

    Offset into the result set for pagination.

  • eval_idstringObligatorio

    Model evaluation id.

  • confidenceany

    Integer confidence threshold 0-100. Most evals store results only at 1, 10, 20, 30, 40, 50, 60, 70, 80, 90 and at each split's optimalThreshold from model_evals_get_confidence_sweep (times 100), so other values fail. Omit to use the eval's default threshold (20 for most evals).

  • image_nameany

    Exact evaluated image name to select.

  • eval_input_idany

    Evaluated input ID to select, useful when one image has multiple transformed inputs.

  • include_geometryboolean

    Include saved prediction and ground-truth geometry for one selected evaluated input.

Parámetros de salida

Sin parámetros.

Model evals get map resultsROBOFLOW_MCP_MODEL_EVALS_GET_MAP_RESULTSAcción

Get per-split mAP results for an eval. Returns ``{splits: {train, valid, test}}`` where each split has overall ``map50`` / ``map50_95`` / ``map75``, ``byObjectSize`` (small/medium/large), and ``perClass`` breakdowns.

Parámetros de entrada

  • eval_idstringObligatorio

    Model evaluation id.

Parámetros de salida

Sin parámetros.

Model evals get performance by classROBOFLOW_MCP_MODEL_EVALS_GET_PERFORMANCE_BY_CLASSAcción

Get per-class performance metrics for a single split. Returns ``{split, classes: [{className, map50, map50_95, map75, precision, recall, f1, optimalThreshold}, ...]}``.

Parámetros de entrada

  • splitany

    Split to inspect — defaults to 'test'. 'all' is rejected by the API.

  • eval_idstringObligatorio

    Model evaluation id.

Parámetros de salida

Sin parámetros.

Model evals get recommendationsROBOFLOW_MCP_MODEL_EVALS_GET_RECOMMENDATIONSAcción

Get the LLM-generated recommendations for an eval, if available. Returns ``{generated: false}`` until the recommendations job has run. When ready, returns ``{generated: true, generatedAt, recommendations: {summary, items}}``.

Parámetros de entrada

  • eval_idstringObligatorio

    Model evaluation id.

Parámetros de salida

Sin parámetros.

Model evals get vector analysisROBOFLOW_MCP_MODEL_EVALS_GET_VECTOR_ANALYSISAcción

Get UMAP + HDBSCAN clustering of image embeddings for an eval. Returns ``{clustering, preprocessing, clusters: [...]}`` — useful for finding pockets of poor-performing images. Each cluster carries ``numImages``, ``splitDistribution``, F1 stats, and sample image refs.

Parámetros de entrada

  • eval_idstringObligatorio

    Model evaluation id.

  • confidenceany

    For cluster F1 stats. Integer confidence threshold 0-100. Most evals store results only at 1, 10, 20, 30, 40, 50, 60, 70, 80, 90 and at each split's optimalThreshold from model_evals_get_confidence_sweep (times 100), so other values fail. Omit to use the eval's default threshold (20 for most evals).

Parámetros de salida

Sin parámetros.

Model evals listROBOFLOW_MCP_MODEL_EVALS_LISTAcción

List model evaluations in the current workspace. Returns ``{evals: [...]}`` where each entry has evalId, status, project (URL slug), versionId, modelId, modelUrl, and createdAt. Use ``model_evals_get`` for the headline ``summary`` (mAP/precision/recall) on a specific eval. Two model identifiers are returned and they are NOT interchangeable: ``modelId`` is the eval's internal id (the ``model_id`` filter key here); ``modelUrl`` is the resolvable public id that ``models_get`` / ``models_infer`` accept and that joins to ``models_list[].url`` and ``trainings_get`` results. Filters combine: ``project_id`` + ``version_number`` returns the evals of that project version, ``model_id`` + ``version_number`` the evals of that model on that version. The version is matched within the newest 200 evals of the project or model, the most the platform returns per call.

Parámetros de entrada

  • limitany

    Maximum number of evals to return (default 50, max 200).

  • statusany

    Filter by eval status.

  • model_idany

    Filter by the eval's internal `modelId` (e.g. 'eff8cb21218fe2fdb5d1') as returned in model_evals records — NOT the `modelUrl` slug and NOT a 'workspace/project-...-arch' ref. Use it to find sibling evals of a model you already have an eval for. When set, project_id is ignored.

  • project_idany

    Filter by project slug (e.g. 'chess-pieces-fmhpz').

  • version_numberany

    Filter by version number. Pass project_id too: on its own it matches that version number in every project of the workspace.

Parámetros de salida

Sin parámetros.

Models custom weights upload guideROBOFLOW_MCP_MODELS_CUSTOM_WEIGHTS_UPLOAD_GUIDEAcción

Get the recipe for uploading locally trained model weights to Roboflow. This tool never uploads anything. Weights packaging must run on the machine that has the checkpoint (it reads the weights file and needs torch), and this MCP server cannot read the user's filesystem. Calling it returns the client-side recipe: how to run the upload with the Roboflow Python SDK on the machine where the weights live. Pass whatever arguments you already know; the response names the matching upload mode and echoes them back for the SDK call. Do not infer the target project, version, or model name from the checkpoint; those come from the user.

Parámetros de entrada

  • model_nameany

    Model name for a workspace upload. Ask the user for it; never invent one.

  • model_pathany

    Directory containing the trained model artifacts on the machine where training ran. Optional.

  • model_typeany

    Custom model type you plan to upload, e.g. 'yolov8n', 'yolov11s', 'rfdetr-base', 'yolonas', or a supported PaliGemma/Florence type. Optional.

  • project_idsany

    Target project slugs. Optional.

  • version_numberany

    Dataset version for a versioned deploy. Omit for a workspace model upload.

Parámetros de salida

Sin parámetros.

Models getROBOFLOW_MCP_MODELS_GETAcción

Get details for a trained model in the current workspace.

Parámetros de entrada

  • model_idstringObligatorio

    Model id in the current workspace: '<workspace>/<model-slug>' (models_list[].url or trainings_get models[].modelId), a bare '<model-slug>', or '<project>/<version>' (legacy version models, or the version's only model).

Parámetros de salida

Sin parámetros.

Models inferROBOFLOW_MCP_MODELS_INFERAcción

Run hosted inference on an image using a trained model or RF-DETR Semantic pretrain. RF-DETR Semantic returns per-pixel scene classes from ADE20K's 150 classes, not separate object instances. Its six size aliases resolve to ADE20K model IDs. Other two-segment IDs pass through unchanged; the inference server resolves their model and task without project-type derivation. Returns JSON predictions only. For visualized/annotated images, run a Workflow with a visualization block instead.

Parámetros de entrada

  • imagestringObligatorio

    Image as an HTTPS URL or base64-encoded string.

  • overlapnumber

    Overlap threshold between 0.0 and 1.0 for object detection

  • model_idstringObligatorio

    Inference model id of either form: '<dataset>/<version>' (e.g. 'the-paid-gallery/138') or '<workspace>/<model-slug>'. Get it from models_list[].url or trainings_get models[].modelId. RF-DETR Semantic ADE20K pretrains also accept 'rfdetr-sem-{nano,small,medium,large,xlarge,2xlarge}'.

  • confidencenumber

    Confidence threshold between 0.0 and 1.0

Parámetros de salida

Sin parámetros.

Models listROBOFLOW_MCP_MODELS_LISTAcción

List trained models associated with a project. Returns ``{models, total, returned, limit, offset, truncated}``. Each row carries `metrics`, and (for NAS children) `nasFamily` and `group`, plus a derived `recommended` flag when the model is the recommended pick for any (metric, hardware) bucket on its parent version. `metrics` is sparse and its keys depend on the run. An ordinary training carries accuracy only, e.g. {map50, precision, recall, f1}. `latency` and `paretoOptimalFor` come from NAS mining, so they appear on NAS children and not on ordinary trainings; `metrics` may also be null. Do not assume a key is present - read what is there. Two shapes of NAS child are in the data. Newer runs report `latency` as a map keyed by target hardware (e.g. {"AI1": 6.69, "T4": 1.98}) and `paretoOptimalFor` entries as "<hardware>:<metric>" (e.g. "T4:map_50_95"). Older runs report a scalar `latency` with a sibling `metrics.hardware` (e.g. "gpu") and bare-metric `paretoOptimalFor` entries (e.g. "map_50"). Branch on the type of `latency` rather than indexing it. `recommended` is the flattened union of the platform's per-hardware winners, so more than one row in a group carries it and it cannot tell you which hardware a child won; `paretoOptimalFor` is frontier membership, not the recommendation. The authoritative map, `recommendedByHardware`, exists only on legacy version-based summaries and is absent from modern MMPV runs. NAS children with `nasFamily: "baseline"` are stock RF-DETR models trained on the same data; they carry no `paretoOptimalFor` and are never `recommended`. A project with NAS runs can have hundreds of models, so the result is always bounded: filter with `version_number` and/or `group=<modelGroup>` (the canonical "list NAS models per run" path), and page with `limit`/`offset`. `truncated` is true when more rows remain past the page.

Parámetros de entrada

  • groupany

    Optional NAS modelGroup to scope the list to a single NAS run. Get this value from trainings_list, which returns it without the child list that trainings_get inlines.

  • limitany

    Maximum number of models to return (default 50, max 200).

  • offsetany

    Offset into the (filtered) result set, for paging.

  • project_idstringObligatorio

    Project slug (e.g. 'my-project'); 'workspace/my-project' is also accepted.

  • version_numberany

    Filter to a single version's models. Strongly recommended on projects with NAS runs, which can have hundreds of models across versions.

Parámetros de salida

Sin parámetros.

Models star nasROBOFLOW_MCP_MODELS_STAR_NASAcción

Star or unstar a NAS-trained model. NAS-only by design — the server rejects non-NAS modelTypes with a ``MODEL_NOT_NAS`` error. Starring triggers TRT compilation for the model's recommended hardware so the model becomes deployable as an edge target.

Parámetros de entrada

  • starredboolean

    True to star, false to unstar.

  • model_idstringObligatorio

    Public model id (the `url` field from models_list[] or models[].modelId from trainings_get), e.g. 'beer-can-hackathon-410-nas-gpu-b'. Just the bare id — workspace prefix added automatically.

Parámetros de salida

Sin parámetros.

Models weights download urlROBOFLOW_MCP_MODELS_WEIGHTS_DOWNLOAD_URLAcción

Get a short-lived download URL for an existing trained model checkpoint. Returns `download_url`, valid for 15 minutes. The platform enforces the caller's permissions, the workspace's weights-download entitlement, and artifact availability. Prefer an exact model slug: a numeric version can resolve its legacy alias rather than a particular model from that version. This retrieves raw trained weights, not a dataset export or a Core ML, ONNX, or TensorRT conversion. For offline iOS deployment, converting the checkpoint and integrating it into the app are separate steps. The tool does not train, convert, run inference, or download the file itself. The platform records a model-download event when issuing the URL. Treat the temporary URL as private and do not publish it.

Parámetros de entrada

  • model_idstringObligatorio

    Exact trained model slug or 'workspace/model-slug' from models_list[].url. A legacy dataset version, such as '7' or 'project/7', is also accepted.

  • project_idstringObligatorio

    Project containing the model; accepts 'project' or 'workspace/project'.

Parámetros de salida

Sin parámetros.

Preview job cancelROBOFLOW_MCP_PREVIEW_JOB_CANCELAcción

Stop a preview job. It cannot resume; a new run starts a new job.

Parámetros de entrada

  • job_idstringObligatorio

    The preview job id from the opening result.

  • workspace_idstringObligatorio

    The workspace the preview runs in, from the opening result.

Parámetros de salida

Sin parámetros.

Preview job getROBOFLOW_MCP_PREVIEW_JOB_GETAcción

Read a preview job with its segments and results; every call signs its urls again.

Parámetros de entrada

  • job_idstringObligatorio

    The preview job id from the opening result.

  • workspace_idstringObligatorio

    The workspace the preview runs in, from the opening result.

Parámetros de salida

Sin parámetros.

Preview media refreshROBOFLOW_MCP_PREVIEW_MEDIA_REFRESHAcción

A fresh signed url for the preview's source video, when the widget reopens after it expired.

Parámetros de entrada

  • video_idany

    Asset Library video id. Give this or source_id.

  • source_idany

    Asset Library image id. Give this or video_id.

  • workspace_idstringObligatorio

    The workspace the preview runs in, from the opening result.

Parámetros de salida

Sin parámetros.

Preview rerunROBOFLOW_MCP_PREVIEW_RERUNAcción

Run a preview again from its rerunArguments, with the classes the user changed.

Parámetros de entrada

  • classesany

    SAM 3 projects only: the classes to look for in this preview instead of the saved prompt. The saved endpoint does not change.

  • video_idany

    Asset Library video id. Give this or source_id.

  • source_idany

    Asset Library image id. Give this or video_id.

  • confidenceany

    Initial confidence threshold, 0 to 1. The user can change it in the widget without a new run.

  • parametersany

    Values for the Workflow's own non-image inputs, by input name.

  • project_idany

    The project of a model preview.

  • workflow_idany

    The Workflow of a Workflow preview.

  • workspace_idstringObligatorio

    The workspace the preview runs in, from the opening result.

  • disable_sinksboolean

    Skip the Workflow's sink blocks (webhooks, uploads, notifications). They run by default, as in the app's Workflow preview.

  • trim_start_msany

    Video only: where the clip starts, in milliseconds.

  • trim_duration_msany

    Video only: clip length in milliseconds, 60000 at most (the default and the cap).

Parámetros de salida

Sin parámetros.

Project deployment configure active learningROBOFLOW_MCP_PROJECT_DEPLOYMENT_CONFIGURE_ACTIVE_LEARNINGAcción

Configure how a Project Deployment collects Active Learning data.

Parámetros de entrada

  • enableboolean

    Enable Active Learning before saving configuration.

  • filtersany

    Optional classConfidence or detectionSize filters.

  • project_idstringObligatorio

    Project slug (e.g. 'my-project'); 'workspace/my-project' is also accepted.

  • collection_limitsany

    Collection limit overrides. Defaults are used for omitted fields.

Parámetros de salida

Sin parámetros.

Project deployment disable active learningROBOFLOW_MCP_PROJECT_DEPLOYMENT_DISABLE_ACTIVE_LEARNINGAcción

Pause Active Learning collection for a Project Deployment.

Parámetros de entrada

  • project_idstringObligatorio

    Project slug (e.g. 'my-project'); 'workspace/my-project' is also accepted.

Parámetros de salida

Sin parámetros.

Project deployment enable active learningROBOFLOW_MCP_PROJECT_DEPLOYMENT_ENABLE_ACTIVE_LEARNINGAcción

Enable Active Learning for a Project Deployment.

Parámetros de entrada

  • project_idstringObligatorio

    Project slug (e.g. 'my-project'); 'workspace/my-project' is also accepted.

Parámetros de salida

Sin parámetros.

Project deployment getROBOFLOW_MCP_PROJECT_DEPLOYMENT_GETAcción

Get the stable live endpoint state for a project, with `workspaceDetectionDefault` and `openAiDetectionAvailability`. Use the returned `workspaceDetectionDefault` for new non-COCO object-detection Workflow steps and object-detection catalog labeling with no explicit model choice. Free/trial workspaces: GPT-6.1 Terra (`gpt-6-1-terra-boxes`) for Workflow detection and Auto Label; new endpoints GPT-6.1 Sol (`{type: "sol", classes}`). Paid workspaces or unknown usage: Gemini 4 Carbon (`gemini-4-carbon-boxes`) for Workflow detection and Auto Label; new endpoints GPT-6 Astra (`{type: "astra", classes}`). Auto Label instance-segmentation defaults are `gpt-6-1-terra-sam3-masks` for free/trial and `gemini-4-carbon-sam3-masks` for paid or unknown usage. Use the returned API defaults and Auto Label model list for actual selection; `isDefault` marks only the object-detection default. If `workspaceDetectionDefault` is absent, use the paid endpoint default. Name an endpoint by its endpoint model, never by the Auto Label one. Never infer the tier from user messages. Explicit choices and saved models take precedence. The returned `openAiDetectionAvailability` applies to OpenAI blocks and endpoints. When it is `available` or absent, follow the workspace detection default. A `managed-key-denied` or `region-unavailable` restriction does not establish another provider's availability: retain a non-OpenAI default only when its own access and deployment policies permit it. When no permitted VLM default is available, use the native SAM 3 fallback without another selection question. Never switch providers, credentials or global routes to evade plan, workspace-key or residency restrictions.

Parámetros de entrada

  • project_idstringObligatorio

    Project slug (e.g. 'my-project'); 'workspace/my-project' is also accepted.

Parámetros de salida

Sin parámetros.

Project deployment launchROBOFLOW_MCP_PROJECT_DEPLOYMENT_LAUNCHAcción

Create or prepare a stable Project Deployment. Configure this optional endpoint only when the requested task needs a stable serving endpoint or active learning. A new Project's detection default can only be read once the Project exists. For a new object-detection Project outside COCO with no explicit model choice, call this without `model` or Active Learning, read the returned `workspaceDetectionDefault` and `openAiDetectionAvailability`, then call project_deployment_set_model with `{type: workspaceDetectionDefault.objectDetectionEndpoint.type, classes}` (the classes to detect) as project_deployment_get describes, then project_deployment_enable_active_learning if wanted. Active Learning needs a model on the endpoint.

Parámetros de entrada

  • modelany

    Omit for a new object-detection Project outside COCO with no explicit model choice (see the tool description). Default deployment model. Use {type:"model_id", modelId} with an exact compatible trained id from models_list or universe_search (use its exact model_id, including a listed older Universe version), or a pretrained alias from the roboflow-model-journey skill (e.g. "rfdetr-nano"), {type:"sam3", classes} for compatible detection/segmentation Projects, or {type:"qwen", classes} for compatible classification Projects. For new zero-shot object-detection Projects outside COCO, use the Workspace detection default returned by project_deployment_get: `{type: workspaceDetectionDefault.objectDetectionEndpoint.type, classes}` (GPT-6.1 Sol for free/trial workspaces; GPT-6 Astra for paid workspaces or unknown usage). If `workspaceDetectionDefault` is absent, use GPT-6 Astra ({type:"astra", classes}). OpenAI detection availability restrictions take precedence over that default. Honor explicit supported choices, including Sol, Astra, SAM3 and {type:"gemini", classes} for Gemini 3.8 Flash, and keep Auto Label catalog selection separate. Retain pretrained RF-DETR for COCO detection. {type:"clip", classes} remains supported when the user explicitly requests CLIP or for an existing CLIP setup.

  • licensestring

    Project license when creating a project.

  • annotationany

    What the project annotates when creating a new project, such as 'forklift'. This is the annotation group: projects with the same group share annotations, so pick a name no other project uses unless the user wants that.

  • project_idany

    Existing project slug. If omitted, project_name, project_type, and annotation create a new project.

  • project_nameany

    Display name when creating a new project.

  • project_typeany

    Project type when creating a new project.

  • business_contextany

    Brief description of the business problem being solved.

  • enable_active_learningboolean

    Enable Active Learning so production inference images become reviewable data.

  • active_learning_filtersany

    Optional Active Learning filters such as classConfidence or detectionSize conditions.

  • active_learning_collection_limitsany

    Optional Active Learning collection limit overrides. Defaults are used for omitted fields.

Parámetros de salida

Sin parámetros.

Project deployment list review queuesROBOFLOW_MCP_PROJECT_DEPLOYMENT_LIST_REVIEW_QUEUESAcción

List Active Learning review queues fed by production inference.

Parámetros de entrada

  • pageany

    Review queue page number.

  • searchany

    Search queue names, ids, labelers, or reviewers.

  • statusany

    Filter review queues by status.

  • sort_byany

    Review queue sort field.

  • reviewerany

    Reviewer email, or 'unassigned' for queues without a reviewer.

  • page_sizeany

    Items per page, up to 50.

  • project_idstringObligatorio

    Project slug (e.g. 'my-project'); 'workspace/my-project' is also accepted.

  • sort_directionany

    Review queue sort direction.

Parámetros de salida

Sin parámetros.

Project deployment previewROBOFLOW_MCP_PROJECT_DEPLOYMENT_PREVIEWAcción

Show the project's live endpoint on one workspace image or video, in an interactive player. Use this when the user wants to see what the project's model finds on their own media. Each call runs inference and spends credits; a video runs as a job on a clip of 60 s at most. Only the counts per class come back here; the user filters by confidence and class in the widget, and on SAM 3 projects can change the classes and run again there. A project that never had an endpoint gets one (its base workflow) before the preview runs. For usage guidance, read skill://roboflow-apps/model-preview/SKILL.md.

Parámetros de entrada

  • classesany

    SAM 3 projects only: the classes to look for in this preview instead of the saved prompt. The saved endpoint does not change.

  • video_idany

    Asset Library video id. Give this or source_id.

  • source_idany

    Asset Library image id. Give this or video_id.

  • confidenceany

    Initial confidence threshold, 0 to 1. The user can change it in the widget without a new run.

  • project_idstringObligatorio

    Project slug (e.g. 'my-project'); 'workspace/my-project' is also accepted.

  • trim_start_msany

    Video only: where the clip starts, in milliseconds.

  • trim_duration_msany

    Video only: clip length in milliseconds, 60000 at most (the default and the cap).

Parámetros de salida

Sin parámetros.

Project deployment runROBOFLOW_MCP_PROJECT_DEPLOYMENT_RUNAcción

Run inference through the project's stable live endpoint.

Parámetros de entrada

  • imagesobjectObligatorio

    Map of input names to image values. Usually {'image': 'https://...'} or base64.

  • parametersany

    Optional runtime parameters supported by the deployment, such as confidence.

  • project_idstringObligatorio

    Project slug (e.g. 'my-project'); 'workspace/my-project' is also accepted.

Parámetros de salida

Sin parámetros.

Project deployment set modelROBOFLOW_MCP_PROJECT_DEPLOYMENT_SET_MODELAcción

Change which model a Project's hosted endpoint serves without changing its stable inference path. Creates the endpoint if necessary. Configure this optional endpoint only when the requested task needs a stable serving endpoint or active learning. Ordinary model testing and Auto Label samples use a standalone Workflow and need no endpoint configuration. Never replace a configured serving model or saved prompt unless the user explicitly requests that persistent change. Training completion, Auto Label setup, Adjust feedback, and trying a preview do not authorize replacement. This saves the configuration, so do not describe it as temporary. Never use this tool for temporary classes or confidence changes. Active Learning settings are preserved. If the user explicitly requests Sol or Astra and project_deployment_get's `openAiDetectionAvailability` is `managed-key-denied`, explain that its managed-key access is unavailable in this workspace and offer SAM 3 or resolving that access. If it is `region-unavailable`, explain that OpenAI detection is unavailable in the EU deployment and offer SAM 3; do not suggest upgrading the plan or adding a provider key as a residency workaround. Do not configure a new Sol or Astra detection endpoint or suggest a global provider route in that case. For either restriction, do not configure a substitute without their agreement or claim the requested detector ran. Never bypass provider-access controls. Leave existing configured endpoints, COCO RF-DETR, other task defaults, and Auto Label's separate selection policy unchanged.

Parámetros de entrada

  • modelobjectObligatorio

    Default deployment model. Use {type:"model_id", modelId} with an exact compatible trained id from models_list or universe_search (use its exact model_id, including a listed older Universe version), or a pretrained alias from the roboflow-model-journey skill (e.g. "rfdetr-nano"), {type:"sam3", classes} for compatible detection/segmentation Projects, or {type:"qwen", classes} for compatible classification Projects. For new zero-shot object-detection Projects outside COCO, use the Workspace detection default returned by project_deployment_get: `{type: workspaceDetectionDefault.objectDetectionEndpoint.type, classes}` (GPT-6.1 Sol for free/trial workspaces; GPT-6 Astra for paid workspaces or unknown usage). If `workspaceDetectionDefault` is absent, use GPT-6 Astra ({type:"astra", classes}). OpenAI detection availability restrictions take precedence over that default. Honor explicit supported choices, including Sol, Astra, SAM3 and {type:"gemini", classes} for Gemini 3.8 Flash, and keep Auto Label catalog selection separate. Retain pretrained RF-DETR for COCO detection. {type:"clip", classes} remains supported when the user explicitly requests CLIP or for an existing CLIP setup.

  • project_idstringObligatorio

    Project slug (e.g. 'my-project'); 'workspace/my-project' is also accepted.

Parámetros de salida

Sin parámetros.

Projects createROBOFLOW_MCP_PROJECTS_CREATEAcción

Create a new computer vision project, including Action Recognition and Anomaly Detection. Action Recognition projects are video-only. Anomaly Detection requires workspace enablement and creates fixed, single-label normal/anomalous classes. Active anomaly detection and ordinary projects cannot use the same annotation group. The annotation group is not private to the project: projects that use the same group share annotations on the images they have in common. If an active project of the same kind already uses the name, the new project silently joins that group. Projects in the Trash are excluded from the kind check, so a new project can also join a group used by a trashed project of either kind. Images uploaded to the new project that are already stored in the workspace come with their annotations from that group, and uploading them with annotations fails with "Image was already annotated" unless image_upload's annotation_overwrite is set. Unless the user wants shared annotations, check the annotation values from projects_list and trash_list first and pick a name no other project uses. Returns the created project's id, name, type, and url.

Parámetros de entrada

  • licensestringenum

    Project license. Leave empty for a private project unless the user chose a license. Workspaces on the free Public plan or a Research plan can only create public projects, which anyone can see on Roboflow Universe: there a license is required and cannot be 'Private'. The license is the user's choice; ask them instead of picking one.

    PrivatePublic DomainMITCC BY 4.0BY-NC-SA 4.0ODbL v1.0
  • annotationstringObligatorio

    Annotation group: what you're annotating, as a dash-separated slug of letters, numbers, and dashes (e.g. 'defects', 'hard-hats'). Projects with the same group share annotations, so pick a name no other project uses unless the user wants that.

  • project_namestringObligatorio

    Display name for the project: only unaccented letters (A-Z, a-z), digits, spaces, dashes and underscores, up to 256 characters not counting leading or trailing spaces. Accented or non-Latin letters, dots, slashes, em dashes and emoji are rejected. If the user's name has any of them, suggest a version without them (e.g. 'Pallets 2023-08' for 'Pallets 2023.08') and confirm it with the user.

  • project_typestringObligatorioenum

    Computer vision task type

    object-detectionsingle-label-classificationmulti-label-classificationinstance-segmentationsemantic-segmentationaction-recognitionanomaly-detection
  • business_contextany

    Brief description of the business problem this project addresses, if the user has shared one.

Parámetros de salida

Sin parámetros.

Projects deleteROBOFLOW_MCP_PROJECTS_DELETEAcción

Delete a project, moving it to the workspace Trash. This is a soft delete: the project (including its versions, images, and models) stays in the Trash for 30 days and can be restored with ``trash_restore_project`` using the project's document id from the delete response or ``trash_list``. After 30 days it is permanently removed. Active trainings on the project are cancelled.

Parámetros de entrada

  • project_idstringObligatorio

    Project slug (e.g. 'my-project'); 'workspace/my-project' is also accepted.

Parámetros de salida

Sin parámetros.

Projects forkROBOFLOW_MCP_PROJECTS_FORKAcción

Enqueue an async fork of a public Universe project into your workspace. Provide either a Universe `url` or `source_project`. Returns the platform's 202 payload verbatim — at minimum `{ taskId, url }`, where `url` points at the async-task polling endpoint. Poll completion with `async_tasks_get(task_id=taskId)` every 5 seconds until `status` is terminal (`completed` or `failed`). Processing may take up to 30 seconds to start.

Parámetros de entrada

  • urlany

    Full Universe project URL, e.g. https://universe.roboflow.com/workspace/project

  • source_projectany

    Universe project slug to fork into your workspace; optional if url is provided

Parámetros de salida

Sin parámetros.

Projects getROBOFLOW_MCP_PROJECTS_GETAcción

Get detailed info about a project including versions, classes, splits, and trained models. Returns full project details with workspace, project info, versions, and classes. A workspace/project ID from Universe can also be read when the project is public; resolving its owner additionally requires workspace:read. Private projects remain restricted to the connected workspace.

Parámetros de entrada

  • project_idstringObligatorio

    Project slug (e.g. 'my-project'); 'workspace/my-project' is also accepted.

Parámetros de salida

Sin parámetros.

Projects healthROBOFLOW_MCP_PROJECTS_HEALTHAcción

Get dataset health check for a project. Running this for the first time or with regenerate=True might take up to a couple minutes. Returns class balance, image quality issues, annotation statistics, and other dataset health metrics.

Parámetros de entrada

  • project_idstringObligatorio

    Project slug (e.g. 'my-project'); 'workspace/my-project' is also accepted.

  • regenerateboolean

    Set to true to regenerate the health report from scratch.

Parámetros de salida

Sin parámetros.

Projects listROBOFLOW_MCP_PROJECTS_LISTAcción

List projects in the workspace associated with the credential. Returns ``{ projects, total, limit, offset }`` where ``projects`` holds up to ``limit`` entries (id, name, type, image count, and more) and ``total`` counts the usable projects across all pages. Page with ``offset`` when ``total`` exceeds ``limit``.

Parámetros de entrada

  • limitinteger

    Maximum number of projects to return

  • offsetinteger

    Number of projects to skip, for paging

Parámetros de salida

Sin parámetros.

Read skillROBOFLOW_MCP_READ_SKILLAcción

Read server-hosted workflow or app instructions when MCP resources are unavailable. Load the relevant SKILL.md before following its workflow; retrieve referenced files only as needed, using their manifest URIs on this same server. Returns the actual text (or base64 blob for binary files). This reads guidance only: it does not execute scripts, install skills, or grant tool permissions.

Parámetros de entrada

  • uristringObligatorio

    Exact SKILL.md or supporting-file URI from list_skills or the skills index

Parámetros de salida

Sin parámetros.

Streams camera url addROBOFLOW_MCP_STREAMS_CAMERA_URL_ADDAcción

Save a public camera URL and start its connection test after the user confirms access.

Parámetros de entrada

  • camera_urlstringObligatorio
  • request_idstringObligatorio

    A stable unique request ID (8-128 letters, numbers, dots, underscores, colons or hyphens). Reuse it only when retrying this same operation.

  • camera_namestringObligatorio
  • accept_termsbooleanObligatorio
  • workspace_idstringObligatorio

    The workspace from the opening stream app result.

  • camera_passwordany
  • camera_usernameany

Parámetros de salida

Sin parámetros.

Streams connectROBOFLOW_MCP_STREAMS_CONNECTAcción

Connect a phone, webcam or network camera in the live stream app. Use this when the user wants to connect a camera or run a Workflow on a live stream. Call without arguments to open a new camera session; no internal IDs are required. Optionally supply a stable request_id for retry-safe creation or select a known source_id. Calls without request_id each create a new session. Reopen an existing session with stream_session_id instead (session_id remains a supported alias). The app offers phone/webcam pairing and authorized camera setup for connector USB/RTSP and direct RTMP publishers. Camera permission and connection happen in the app; never ask for camera credentials in chat. If no Workflow or detection goal is known, ask what the user wants to detect or invite them to choose a saved Workflow in the card. Do not leave them at a bare camera feed. When the connected source and Workflow are known, call streams_preview in the same interaction. No Workflow editor or additional "start" turn is required. Read skill://roboflow-apps/stream-preview/SKILL.md for usage guidance.

Parámetros de entrada

  • source_idany
  • request_idany

    Optional stable request ID for retries. Omit to create a new camera session automatically.

  • session_idany
  • workspace_idany
  • stream_session_idany

Parámetros de salida

Sin parámetros.

Streams input closeROBOFLOW_MCP_STREAMS_INPUT_CLOSEAcción

Close only this viewer's raw WebRTC connection, including after a source change. Ownership is rechecked. It does not disconnect the camera publisher or other viewers.

Parámetros de entrada

  • viewer_idstringObligatorio

    The stable unique ID of this mounted viewer, not the session ID. Keep it through retries; each card has its own ID.

  • session_idstringObligatorio

    The stream preview session ID from streams_connect or streams_preview_status.

  • workspace_idstringObligatorio

    The workspace from the opening stream app result.

  • connection_idstringObligatorio

    The exact connectionId returned to this viewer's input offer.

Parámetros de salida

Sin parámetros.

Streams input offerROBOFLOW_MCP_STREAMS_INPUT_OFFERAcción

Negotiate raw camera playback through the authorized platform signaling proxy. The answer and connection handle are app metadata only. Source media keys and relay session URLs remain server-side. This does not start Workflow processing.

Parámetros de entrada

  • offer_sdpstringObligatorio

    The browser's receive-only SDP offer after ICE gathering. Retry with the same request_id and unchanged SDP.

  • viewer_idstringObligatorio

    The stable unique ID of this mounted viewer, not the session ID. Keep it through retries; each card has its own ID.

  • request_idstringObligatorio

    A stable unique request ID (8-128 letters, numbers, dots, underscores, colons or hyphens). Reuse it only when retrying this same operation.

  • session_idstringObligatorio

    The stream preview session ID from streams_connect or streams_preview_status.

  • workspace_idstringObligatorio

    The workspace from the opening stream app result.

  • session_revisionintegerObligatorio

    The sessionRevision being viewed; stale viewers cannot renew a newer run.

Parámetros de salida

Sin parámetros.

Streams phone pairROBOFLOW_MCP_STREAMS_PHONE_PAIRAcción

Create a short-lived phone QR or browser webcam pairing link for this member.

Parámetros de entrada

  • intentstringenum
    phonewebcam
  • request_idstringObligatorio

    A stable unique request ID (8-128 letters, numbers, dots, underscores, colons or hyphens). Reuse it only when retrying this same operation.

  • session_idstringObligatorio

    The stream preview session ID from streams_connect or streams_preview_status.

  • workspace_idstringObligatorio

    The workspace from the opening stream app result.

  • expected_session_revisionintegerObligatorio

    The sessionRevision from the latest session result. A stale mutation is rejected; read status before deciding a new action.

Parámetros de salida

Sin parámetros.

Streams previewROBOFLOW_MCP_STREAMS_PREVIEWAcción

Start or replace a live annotated Workflow preview on the session's camera. Use this when a connected camera should show a selected or newly prepared Workflow. Updates the existing streams_connect card; it does not open another app. Reuse the session and workspace from that card's model context. Pass the session as stream_session_id (session_id remains a supported alias). Do not call streams_connect again unless the user needs to reopen the card or its session has expired. For a detection goal or Workflow change, use agent_chat to build and validate through the Roboflow in-app agent. Request class filtering and an annotated image output. Poll agent_chat_result when running, then pass the returned Workflow ID and exact specification unchanged. Read current session status after building. An existing saved Workflow that already fits can be read and previewed directly. This tool pins the supplied specification and spends credits; it does not publish or edit the Workflow. Agent edits can be previewed as drafts without publishing. Sink blocks are disabled; unsupported side effects are refused. Never read settings from a Workflow editor. A returned starting/stopping status is pending, not success: use streams_preview_status. If retry is needed, reuse the exact request_id and arguments; do not create a second request while outcome is uncertain.

Parámetros de entrada

  • request_idstringObligatorio

    A stable unique request ID (8-128 letters, numbers, dots, underscores, colons or hyphens). Reuse it only when retrying this same operation.

  • session_idany
  • workflow_idstringObligatorio

    Saved Workflow URL slug or document ID. Read it before preparing a preview snapshot.

  • image_outputstringObligatorio

    The declared image output containing visualization, such as bounding boxes and labels. Prediction JSON alone is not visual output.

  • workspace_idany
  • stream_session_idany
  • workflow_parametersany

    Values for declared non-image inputs. The session's connected camera supplies the image.

  • workflow_specificationany

    Optional exact specification to execute for this preview only, without modifying the saved Workflow. Referenced resources must be authorized. Omit to resolve the current saved specification; no silent fallback replaces a supplied snapshot.

  • expected_session_revisionintegerObligatorio

    The sessionRevision from the latest session result. A stale mutation is rejected; read status before deciding a new action.

Parámetros de salida

Sin parámetros.

Streams preview releaseROBOFLOW_MCP_STREAMS_PREVIEW_RELEASEAcción

Release only this viewer's attachment, without cancelling other viewers or the camera.

Parámetros de entrada

  • viewer_idstringObligatorio

    The stable unique ID of this mounted viewer, not the session ID. Keep it through retries; each card has its own ID.

  • session_idstringObligatorio

    The stream preview session ID from streams_connect or streams_preview_status.

  • workspace_idstringObligatorio

    The workspace from the opening stream app result.

  • session_revisionintegerObligatorio

    The sessionRevision being viewed; stale viewers cannot renew a newer run.

Parámetros de salida

Sin parámetros.

Streams preview statusROBOFLOW_MCP_STREAMS_PREVIEW_STATUSAcción

Read the current source, run, revision and processing state without starting work. Use stream_session_id; session_id remains a supported alias. The result describes processing, not whether the user's viewer rendered a frame. Pairing links, media grants and frame data stay out of the conversation.

Parámetros de entrada

  • session_idany
  • workspace_idany
  • stream_session_idany

Parámetros de salida

Sin parámetros.

Streams preview stopROBOFLOW_MCP_STREAMS_PREVIEW_STOPAcción

Stop this session's processing, preserving its camera connection. Use stream_session_id; session_id remains a supported alias. A stopping result means termination is pending. Read status for confirmation. This never stops unrelated sessions or disconnects the phone publisher.

Parámetros de entrada

  • request_idstringObligatorio

    A stable unique request ID (8-128 letters, numbers, dots, underscores, colons or hyphens). Reuse it only when retrying this same operation.

  • session_idany
  • workspace_idany
  • stream_session_idany
  • expected_session_revisionintegerObligatorio

    The sessionRevision from the latest session result. A stale mutation is rejected; read status before deciding a new action.

Parámetros de salida

Sin parámetros.

Streams preview watchROBOFLOW_MCP_STREAMS_PREVIEW_WATCHAcción

Renew this viewer's authorized lease and obtain current-generation output access.

Parámetros de entrada

  • viewer_idstringObligatorio

    The stable unique ID of this mounted viewer, not the session ID. Keep it through retries; each card has its own ID.

  • session_idstringObligatorio

    The stream preview session ID from streams_connect or streams_preview_status.

  • workspace_idstringObligatorio

    The workspace from the opening stream app result.

  • session_revisionintegerObligatorio

    The sessionRevision being viewed; stale viewers cannot renew a newer run.

Parámetros de salida

Sin parámetros.

Streams rtsp addROBOFLOW_MCP_STREAMS_RTSP_ADDAcción

Add a camera from the in-app form to a Roboflow connector.

Parámetros de entrada

  • camera_urlstringObligatorio
  • request_idstringObligatorio

    A stable unique request ID (8-128 letters, numbers, dots, underscores, colons or hyphens). Reuse it only when retrying this same operation.

  • camera_namestringObligatorio
  • connector_idstringObligatorio

    A source ID selected through the stream app, never a camera URL or credential.

  • workspace_idstringObligatorio

    The workspace from the opening stream app result.

  • camera_passwordany
  • camera_usernameany

Parámetros de salida

Sin parámetros.

Streams rtsp connectorsROBOFLOW_MCP_STREAMS_RTSP_CONNECTORSAcción

List workspace connectors that can accept an RTSP camera.

Parámetros de entrada

  • workspace_idstringObligatorio

    The workspace from the opening stream app result.

Parámetros de salida

Sin parámetros.

Streams setup openROBOFLOW_MCP_STREAMS_SETUP_OPENAcción

Get the authorized first-party setup page for connectors, Verkada, or RTMP.

Parámetros de entrada

  • source_tabany
  • workspace_idstringObligatorio

    The workspace from the opening stream app result.

Parámetros de salida

Sin parámetros.

Streams source selectROBOFLOW_MCP_STREAMS_SOURCE_SELECTAcción

Select an authorized source for an idle session; a running session must stop first.

Parámetros de entrada

  • source_idstringObligatorio

    A source ID selected through the stream app, never a camera URL or credential.

  • request_idstringObligatorio

    A stable unique request ID (8-128 letters, numbers, dots, underscores, colons or hyphens). Reuse it only when retrying this same operation.

  • session_idstringObligatorio

    The stream preview session ID from streams_connect or streams_preview_status.

  • workspace_idstringObligatorio

    The workspace from the opening stream app result.

  • expected_session_revisionintegerObligatorio

    The sessionRevision from the latest session result. A stale mutation is rejected; read status before deciding a new action.

Parámetros de salida

Sin parámetros.

Streams sources listROBOFLOW_MCP_STREAMS_SOURCES_LISTAcción

List the camera sources the app's caller can select, without media credentials.

Parámetros de entrada

  • workspace_idstringObligatorio

    The workspace from the opening stream app result.

Parámetros de salida

Sin parámetros.

Streams workflows listROBOFLOW_MCP_STREAMS_WORKFLOWS_LISTAcción

List authorized Workflow names and IDs for hosts that cannot read app resources.

Parámetros de entrada

  • workspace_idstringObligatorio

    The workspace from the opening stream app result.

Parámetros de salida

Sin parámetros.

Survey feedback submitROBOFLOW_MCP_SURVEY_FEEDBACK_SUBMITAcción

Record the user's explicit answer to an offered survey question using its request_id. For a chat reply, submit Yes or No only when the user answers that question. For No, include their explanation. Use dismiss only for an explicit dismissal.

Parámetros de entrada

  • answerstringObligatorioenum
    yesnodismiss
  • reasonany
  • request_idstringObligatoriouuid

Parámetros de salida

Sin parámetros.

Trainings cancelROBOFLOW_MCP_TRAININGS_CANCELAcción

Cancel an in-flight training run. Works for any architecture. For NAS runs the underlying handler accepts the ``mining`` status — same call cancels mining or training phases.

Parámetros de entrada

  • project_idstringObligatorio

    Project slug; 'workspace/my-project' is also accepted.

  • training_idany

    Training id from trainings_list to cancel a specific run. Omit to target the version's sole run; required when the version owns several runs.

  • version_numberintegerObligatorio

    Version number whose training to cancel.

  • continue_if_no_refundboolean

    If true, cancel even when the run is past the refund window. Default false (the server will return refund:false without cancelling).

Parámetros de salida

Sin parámetros.

Trainings createROBOFLOW_MCP_TRAININGS_CREATEAcción

Create a training on a dataset version. A dataset version must exist before training. Reuse an existing ready version when its images, labels, and splits match the requested data; check it with versions_get. Generate a new version only when the data or version-level transforms need to change. The MCP versions_generate tool uses the REST generation route: it still applies version preprocessing and augmentation and has no training-purpose option. A modern (MMPV) version may own MANY trainings — concurrent and repeated runs are allowed. Legacy single-model-per-version (SMPV) versions already hold their one model and reject a second training with a 409; generate a fresh version to train more models. To inspect a version's trainings, use trainings_list; to monitor a specific run, use trainings_get with the returned training_id. For Action Recognition, pass model_type='cosmos3-edge' or 'vjepa2-1-vitb-384'. Their video-coco export is prepared by this call. The returned trainingId identifies a background v2 run; poll trainings_get with it until the run finishes. A train_recipe is optional and is sent only when you supply one. For the multi-stage keypoint architecture, pass model_type= 'rfdetr-keypoint-two-stage' and configure detector and keypointHead in stages. Each stage has its own modelType and optional checkpoint, hyperparameters, and trainRecipe. Recipe lookup is limited to the project task, so use the detector's defaults unless you already have a compatible recipe. Set epochs within each stage's hyperparameters or recipe. Top-level epochs and train_recipe are invalid for this architecture. This architecture is currently enabled only on staging for eligible workspaces; platform availability and validation errors are authoritative. Optional trt_compilation enables paid Jetson TensorRT compilation for this run using current target IDs and pricing.trainingId from trt_fleet_settings_get. Enabling requires model:compile in addition to training-job:create, version:read, and version:export, and a workspace-wide API key when using a key. Ordinary training uses version:read to check readiness and version:export to prepare the export. Review the maximum reservation and obtain the user's approval before enabling. Pricing or target profile changes require fresh consent; inspect trt_fleet_status after training for the compilation result. MODEL CHOICE: for object detection and instance segmentation, prefer a NAS parent over a single named architecture: searching the architecture space against this dataset usually beats hand-tuning one. See the model_type description for ids and prerequisites. To customize model-specific preprocessing, online augmentation, or hyperparameters without changing the version, call trainings_describe_recipe FIRST, edit its ``template`` (set ``template["hyperparameters"]``; set supported ``online_preprocessing`` and ``online_augmentation`` steps, with augmentation steps as ``{name, params: {...}}`` dicts), and pass the whole dict as train_recipe. Recipe hyperparameters are sparse: keys you leave out keep their server-side defaults, which are the tuned values, so omitting a key is the right default, not a missed opportunity. Set a knob when you have a specific reason to move it, not to explore. Recipe training requires platform recipe access and an enabled runtime; trainings_describe_recipe reports their availability. COMPARING ARCHITECTURES: use the same ready MMPV version for each candidate. Agree with the user whether to run the comparison in parallel or sequentially, then launch one trainings_create per candidate and retain each returned trainingId. MMPV versions allow concurrent trainings. Include a NAS parent whenever its prerequisites are met, e.g. 'rfdetr-medium' vs 'yolo26m' vs 'rfdetr-nas-parent'. A NAS arm returns a frontier of models rather than one. Resolve it with trainings_list -> modelGroup -> models_list(group=<modelGroup>), whose docstring describes the per-child fields; use trainings_list rather than trainings_get, which inlines every child and defeats the paging. Which child represents that arm depends on the question being asked, and the obvious reading of the `recommended` flag is wrong - read the training-and-evaluation skill before comparing arms or deploying. This tool checks that the dataset version has finished generating and that the required export is ready before starting, and waits up to about 20 seconds for the export. If either is still pending it does NOT start a training: it returns status 'waiting_for_version' or 'waiting_for_export' with training_started false, no trainingId, the progress, and retry_after_seconds. That is expected, not a failure: call trainings_create again with the same arguments after that delay, and keep retrying until it returns a trainingId. Version generation can take up to about an hour on large datasets and reports 0 progress for most of it. Training runs in the background on Roboflow servers.

Parámetros de entrada

  • speedany

    Training speed (deprecated — model_type is usually sufficient)

  • epochsany

    Number of training epochs. With a train_recipe this folds into the recipe's hyperparameters (a value set inside the recipe wins) and has no fixed cap; trainings_describe_recipe reports the recommended range per model type (the epochs descriptor's advice.low/high). Without a recipe, the server caps this value at 300. For rfdetr-keypoint-two-stage, set epochs in each stage's hyperparameters instead.

  • stagesany

    Per-stage configuration for a multi-stage architecture, keyed by 'detector' and 'keypointHead'. Each stage needs modelType and may include checkpoint, hyperparameters, and trainRecipe. Recipe lookup only works for models compatible with the project task. For the detector, omit trainRecipe unless you already have a compatible recipe. The platform validates stage keys, models, and configuration. Omit for single-model training.

  • checkpointany

    Starting weights. Omit to use the model's default: pretrained weights for RF-DETR, YOLO26, classification and VLM models, but random initialization for YOLOv5, YOLOv8 and YOLOv11, so pass 'COCO' for those. Accepted values: 'COCO' (COCO-pretrained weights), 'CITYSCAPES' (yolo26 semantic segmentation), '<dataset>/<version>' for a trained version, or '<workspace>/<model>' for a trained workspace or Universe model. The checkpoint must be the same architecture as model_type, and some model types do not support checkpoints.

  • model_typeany

    Model architecture ID. For object detection and instance segmentation, prefer Neural Architecture Search: 'rfdetr-nas-parent' (detection) or 'rfdetr-nas-seg-parent' (instance segmentation). NAS searches the RF-DETR space against this dataset and returns a speed/accuracy frontier, so it is the option most likely to produce the best model for the user's data. Two prerequisites: >=15 validation images (check versions_get splits.valid before choosing) and a plan entitled to NAS. The entitlement is not readable from the MCP, so it surfaces as a rejection from this tool with code 'nas_not_available_for_plan'. Treat that as a plan limit rather than a transient error and do not retry it. Ask the user to approve a named model and its credit usage before starting a different training. The remedy depends on the plan carried on that error: self-serve plans upgrade, enterprise/legacy need NAS enabled on the workspace, so say NAS is unavailable on the current plan and may need an upgrade or workspace enablement rather than naming one. Named models: 'rfdetr-medium' (detection), 'rfdetr-seg-medium' (instance segmentation), 'yolov11n' (fast YOLO), 'yolo26n-pose' (keypoint), 'vit-base-patch16-224-in21k' (classification), 'qwen3_5-2b-peft' (multimodal/VLM), and 'cosmos3-edge' or 'vjepa2-1-vitb-384' (Action Recognition). Action Recognition requires an explicit model_type and a video-coco export; this tool prepares that export before starting the v2 training run. Keypoint, classification, semantic segmentation, VLM, and Action Recognition tasks have no NAS option. If an invalid ID is passed, the API returns the full list of valid model types for the project's task. Read the training-and-evaluation skill for the complete list and model selection guidance.

  • project_idstringObligatorio

    Project slug (e.g. 'my-project'); 'workspace/my-project' is also accepted.

  • train_recipeany

    Full trainRecipe dict, together with the model_type it was minted for (model_type is required with it). Get one from trainings_describe_recipe: take its `template`, set template['hyperparameters'] (sparse; omitted keys keep server-side defaults), set supported `online_preprocessing` and `online_augmentation` steps for model-specific transforms, with augmentation steps as {name, params: {...}} dicts, and pass the whole dict here. If the recipe's hyperparameters omit epochs, the epochs param is folded in; an epochs set inside the recipe wins.

  • version_numberintegerObligatorio

    Version number to train on

  • trt_compilationany

    Optional Jetson TensorRT compilation consent for this training run. Use {'enabled': true, 'targetIds': [...], 'pricingId': ...} with current target IDs and pricing.trainingId from trt_fleet_settings_get; {'enabled': false} opts out. Enabling requires a workspace-wide credential with model:compile in addition to training-job:create, version:read, and version:export. Omit for ordinary training. Review maximum credits and obtain the user's approval before starting paid compilation. Changed pricing or target profiles require fresh consent.

  • business_contextany

    Brief description of the business problem this model addresses, if the user has shared one.

Parámetros de salida

Sin parámetros.

Trainings deleteROBOFLOW_MCP_TRAININGS_DELETEAcción

Delete a training run, moving it to the workspace Trash. This is a soft delete: the training stays in the Trash for 30 days and can be restored with ``trash_restore_training`` using the training id. After 30 days it is permanently removed. Deleting may repoint or remove the ``{project}/{version}`` serving alias; the response reports the alias action taken.

Parámetros de entrada

  • project_idstringObligatorio

    Project slug; 'workspace/my-project' is also accepted.

  • training_idstringObligatorio

    Training id from trainings_list identifying the run to delete.

  • version_numberintegerObligatorio

    Version number that owns the training run.

Parámetros de salida

Sin parámetros.

Trainings describe recipeROBOFLOW_MCP_TRAININGS_DESCRIBE_RECIPEAcción

Describe the tuning surface for a model type and get a ready-to-submit train recipe. Returns two things: - ``schema``: the valid tuning knobs for this model on this version, namely manifest hyperparameters with hard bounds (``valid``) and advisory ranges (``advice.low``/``advice.high``) for a deliberate, hypothesis-driven change. A descriptor's ``advice.default`` is the tuned value the server applies when you omit the key, so a sparse recipe is the good default; a descriptor with NO ``advice.default`` is one only the trainer can resolve (it derives the value from the dataset at train time), so leave those out unless you specifically intend to override the derivation. Also included: the task-supported online augmentation steps with their field contracts, the supported online preprocessing steps, and input/resolution rules. - ``template``: a ready-to-submit ``trainRecipe`` for this model type. Edit the knobs you want to change, including model-specific ``online_preprocessing`` and ``online_augmentation`` steps, then pass the whole dict as ``train_recipe`` to trainings_create. An unknown ``model_type`` fails with a 404 whose error body lists the valid model types for the project's task.

Parámetros de entrada

  • model_typestringObligatorio

    Model architecture ID to describe, e.g. 'rfdetr-medium'. If an invalid ID is passed, the 404 error lists the valid model types for the project's task.

  • project_idstringObligatorio

    Project slug (e.g. 'my-project'); 'workspace/my-project' is also accepted.

  • version_numberintegerObligatorio

    Version number the training will run on.

Parámetros de salida

Sin parámetros.

Trainings getROBOFLOW_MCP_TRAININGS_GETAcción

Get a training's status, produced models, and metrics. With ``training_id``, returns that run: ``{ trainingId, status, createdAt, modelType, modelGroup, modelCount, models: [ { modelId, nasFamily, metrics, recommended }, ... ], recommendedByHardware?, mining?, epochs?: [ { epoch, ts_ms, map50?, map50_95?, precision?, recall?, f1?, accuracy?, miou?, val_loss?, nativeMetrics?, latency?, modelKey? }, ... ], trainRecipe? }``. ``createdAt`` is when the run was launched (ISO 8601 UTC), or null if unknown. Statuses are surfaced verbatim: 'failed', 'cancelled', and 'stopped' are distinct. Without ``training_id``, returns the version's sole run. A version with several trainings returns 409 ``MULTIPLE_TRAININGS``; use trainings_list to choose a run and pass its ``training_id``. Set ``include_epochs=True`` to read recorded per-epoch curves, including legacy trainings. Top-level ``map50``, ``map50_95``, ``precision``, ``recall``, ``f1``, ``accuracy``, and ``miou`` are percentages (0 to 100). ``nativeMetrics`` holds recorded validation quality scores in 0-1 units and losses in native units; ``val_loss`` is also in native units. Loss definitions vary by trainer. Missing curves or metrics are unavailable, not zero. ``trainRecipe`` is the submitted recipe, not the resolved trainer configuration. ``latency`` is a number or an object of numbers; ``ts_ms`` is a Unix timestamp in milliseconds. NAS runs with several curves include ``modelKey`` on each entry: group by ``modelKey`` before comparing or plotting. Multi-stage trainings have separate curves per stage: read ``stages`` from trainings_list and call trainings_get with each exact stage ``trainingId``. For headline metrics (mAP/precision/recall) on a specific model, use model_evals_list to find the version's evaluations and then model_evals_get and its siblings. Those tools require the ``model-eval:read`` scope, so eval lookup is deliberately kept out of this tool — monitoring a run only needs ``version:read``. For full per-model metadata on a NAS run, call models_list with the returned modelGroup.

Parámetros de entrada

  • project_idstringObligatorio

    Project slug; 'workspace/my-project' is also accepted.

  • training_idany

    Training id from trainings_list. Omit to summarize the version's sole run; required when the version owns several runs.

  • include_epochsboolean

    Include recorded per-epoch validation curves, including legacy trainings, in epochs. Default false.

  • version_numberintegerObligatorio

    Version number whose training to summarize.

Parámetros de salida

Sin parámetros.

Trainings listROBOFLOW_MCP_TRAININGS_LISTAcción

List the trainings on a dataset version. A version may own many trainings. Returns one entry per run: ``{ trainingId, status, createdAt, modelType, modelGroup, modelIds, stages? }``. ``stages`` maps stage names to their exact ``{ trainingId, modelType }`` when a run has multiple stages. Use each stage's ``trainingId`` with trainings_get to read its own curves. ``createdAt`` is when the run was launched (ISO 8601 UTC), or null if unknown. Entries are sorted oldest-to-newest by ``createdAt``. Statuses are surfaced verbatim (e.g. 'finished', 'failed', 'cancelled', 'stopped', 'running'). Pick a ``trainingId`` and pass it to trainings_get, trainings_cancel, or trainings_stop.

Parámetros de entrada

  • project_idstringObligatorio

    Project slug (e.g. 'my-project'); 'workspace/my-project' is also accepted.

  • version_numberintegerObligatorio

    Version number whose trainings to list.

Parámetros de salida

  • resultobject[]Obligatorio
Trainings stopROBOFLOW_MCP_TRAININGS_STOPAcción

Request an early stop on an in-flight training run. Distinct from cancel: the run finishes the current phase gracefully (mining or training) instead of terminating immediately.

Parámetros de entrada

  • project_idstringObligatorio

    Project slug; 'workspace/my-project' is also accepted.

  • training_idany

    Training id from trainings_list to stop a specific run. Omit to target the version's sole run; required when the version owns several runs.

  • version_numberintegerObligatorio

    Version number whose training to stop early.

Parámetros de salida

Sin parámetros.

Trash listROBOFLOW_MCP_TRASH_LISTAcción

List soft-deleted items currently in the workspace Trash. Deleted projects, versions, workflows, and trainings stay in the Trash for 30 days before permanent removal. Use the returned item type and document id with the matching ``trash_restore_*`` tool to recover an item.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

Trash restore projectROBOFLOW_MCP_TRASH_RESTORE_PROJECTAcción

Restore a soft-deleted project from the workspace Trash. Undoes ``projects_delete`` while the project is still within its 30-day retention window.

Parámetros de entrada

  • item_idstringObligatorio

    Document id of the trashed project, from the delete response or trash_list.

Parámetros de salida

Sin parámetros.

Trash restore trainingROBOFLOW_MCP_TRASH_RESTORE_TRAININGAcción

Restore a soft-deleted training run from the workspace Trash. Undoes ``trainings_delete`` while the training is still within its 30-day retention window.

Parámetros de entrada

  • item_idstringObligatorio

    Document id of the trashed training, from the delete response or trash_list.

Parámetros de salida

Sin parámetros.

Trash restore versionROBOFLOW_MCP_TRASH_RESTORE_VERSIONAcción

Restore a soft-deleted dataset version from the workspace Trash. Undoes ``versions_delete`` while the version is still within its 30-day retention window. ``parent_id`` is the parent project's document id.

Parámetros de entrada

  • item_idstringObligatorio

    Document id of the trashed version, from the delete response or trash_list.

  • parent_idstringObligatorio

    Parent project document id; required when restoring a version.

Parámetros de salida

Sin parámetros.

Trash restore workflowROBOFLOW_MCP_TRASH_RESTORE_WORKFLOWAcción

Restore a soft-deleted workflow from the workspace Trash. Undoes ``workflows_delete`` while the workflow is still within its 30-day retention window.

Parámetros de entrada

  • item_idstringObligatorio

    Document id of the trashed workflow, from the delete response or trash_list.

Parámetros de salida

Sin parámetros.

Trt fleet model settings getROBOFLOW_MCP_TRT_FLEET_MODEL_SETTINGS_GETAcción

Read the model's inherited or explicit future compilation settings. This does not change automatic compilation consent. API credentials cannot change workspace or model automatic settings; use the Roboflow app.

Parámetros de entrada

  • model_idstringObligatorio

    Model ID from models_list or trainings_list; the model must belong to this workspace.

Parámetros de salida

Sin parámetros.

Trt fleet quoteROBOFLOW_MCP_TRT_FLEET_QUOTEAcción

Quote compilation for a trained model before reserving credits. Requires a sealed trusted FP32 ONNX source. The quote shows the maximum credit reservation and hourly rate. Only successful native compilation time is charged; unused reservation is released. The quote ID reflects the source, target profiles, and price. If any changes, request returns a conflict; fetch a new quote and obtain approval for its terms.

Parámetros de entrada

  • model_idstringObligatorio

    Model ID from models_list or trainings_list; the model must belong to this workspace.

  • target_idsany

    Target IDs from trt_fleet_settings_get. Omit to use the workspace's saved targets. Keep the same selection for quote and request.

Parámetros de salida

Sin parámetros.

Trt fleet requestROBOFLOW_MCP_TRT_FLEET_REQUESTAcción

Reserve credits and enqueue paid compilation after the user approves the quote. Repeating the same request reuses matching jobs. A changed quote returns a conflict; quote again before retrying. A queued job can wait for a build device and expires after 24 hours without a charge. Poll trt_fleet_status for each variant's outcome; enqueueing is not success.

Parámetros de entrada

  • model_idstringObligatorio

    Model ID from models_list or trainings_list; the model must belong to this workspace.

  • quote_idstringObligatorio

    quoteId from a current trt_fleet_quote for this model and targets.

  • target_idsany

    Target IDs from trt_fleet_settings_get. Omit to use the workspace's saved targets. Keep the same selection for quote and request.

Parámetros de salida

Sin parámetros.

Trt fleet settings getROBOFLOW_MCP_TRT_FLEET_SETTINGS_GETAcción

Read fleet availability, enrolled targets, and current pricing. Cloud TRT is off by default, including on Enterprise. The response's pricing.trainingId is the consent ID for trainings_create; pricing.id identifies the current fleet price. Automatic compilation settings are read-only through API credentials and must be changed in the Roboflow app. A disabled feature or unavailable fleet can block new work.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

Trt fleet statusROBOFLOW_MCP_TRT_FLEET_STATUSAcción

Poll a model's compilation jobs and their charges or failures. Jobs can be awaiting_source, queued, running, finalizing, succeeded, failed, or expired. A request response only confirms admission; check this status for the final result and chargedCredits.

Parámetros de entrada

  • model_idstringObligatorio

    Model ID from models_list or trainings_list; the model must belong to this workspace.

Parámetros de salida

Sin parámetros.

Universe dataset images searchROBOFLOW_MCP_UNIVERSE_DATASET_IMAGES_SEARCHAcción

Search images inside a public Universe dataset given its URL. Accepts a full Universe dataset URL and derives the workspace and project slugs from it before searching the dataset's images.

Parámetros de entrada

  • limitinteger

    Maximum number of results

  • querystring

    Search prompt for image discovery inside this public dataset

  • offsetinteger

    Result offset for pagination

  • dataset_urlstringObligatorio

    Full Universe dataset URL, e.g. https://universe.roboflow.com/workspace/project

Parámetros de salida

Sin parámetros.

Universe searchROBOFLOW_MCP_UNIVERSE_SEARCHAcción

Search Roboflow Universe for datasets or models. With result_type 'model', each result lists its runnable modelVersions, each with the exact model_id to deploy or run, older versions included. The query supports operators mixed with free-text: - Add 'model' to only return datasets with trained models - 'class:helmet,person' filters by class names - 'images>500' filters by image count (also >=, <, <=) - 'sort:stars' sorts results (stars, images, downloads, views, updated) - 'object detection' filters by project type - 'updated:30d' filters by recency Example: 'fire smoke class:fire,smoke images>200 model sort:stars'

Parámetros de entrada

  • pageinteger

    Page number starting at 1

  • limitinteger

    Maximum number of results

  • querystringObligatorio

    Universe search query

  • result_typeany

    Optional result type filter

Parámetros de salida

Sin parámetros.

Versions deleteROBOFLOW_MCP_VERSIONS_DELETEAcción

Delete a dataset version, moving it to the workspace Trash. This is a soft delete: the version stays in the Trash for 30 days and can be restored with ``trash_restore_version`` using the version's document id and ``parent_id`` set to the parent project's document id (both are in the delete response or ``trash_list``). After 30 days it is permanently removed.

Parámetros de entrada

  • project_idstringObligatorio

    Project slug (e.g. 'my-project'); 'workspace/my-project' is also accepted.

  • version_numberintegerObligatorio

    Version number to delete

Parámetros de salida

Sin parámetros.

Versions exportROBOFLOW_MCP_VERSIONS_EXPORTAcción

Check or trigger a dataset export for a version. Public projects can be exported by their full workspace/project ID without forking. Canonical ownership and visibility checks additionally require workspace:read and project:read. Private projects remain restricted to the connected workspace. Generation must finish first: use versions_get to check ``generating`` and poll roughly once a minute while it is true. An export request made during generation is rejected and does not queue the export.

Parámetros de entrada

  • project_idstringObligatorio

    Project slug or workspace/project ID; public projects in another workspace are supported.

  • export_formatstringObligatorio

    Export format such as 'coco', 'yolov8', or 'jsonl'

  • version_numberintegerObligatorio

    Version number

Parámetros de salida

Sin parámetros.

Versions generateROBOFLOW_MCP_VERSIONS_GENERATEAcción

Create a new dataset version with optional preprocessing and augmentation. Reuse an existing ready version when its images, labels, and splits match the training request. Use trainings_describe_recipe and trainings_create for model-specific online preprocessing and augmentation. This tool uses the REST generation route, which still applies version transforms and has no training-purpose option. Preprocessing and augmentation choices are user decisions: confirm the desired options with the user before generating rather than assuming defaults. Pass each option in the shape this tool's schema shows. The platform rejects its internal saved shape (``{"enabled": true, ...}``, ``remap.labels``, ``crop.percent``) and the step lists that trainings_create recipes use. Generation continues after this tool returns and can take several minutes. While ``generating`` is true, poll versions_get roughly once a minute before starting training or requesting an export. The export request is not queued while generation is in progress. Returns the version number, image count, split sizes, and readiness fields.

Parámetros de entrada

  • project_idstringObligatorio

    Project slug (e.g. 'my-project'); 'workspace/my-project' is also accepted.

  • augmentationany

    Augmentation options, e.g. {"image": {"versions": 3}, "flip": {"horizontal": true, "vertical": false}, "brightness": {"brighten": true, "darken": true, "percent": 15}}.

  • preprocessingany

    Preprocessing options, e.g. {"auto-orient": true, "resize": {"width": 640, "height": 640, "format": "Stretch to"}}.

  • business_contextany

    Brief description of the business problem this version addresses, if the user has shared one.

Parámetros de salida

Sin parámetros.

Versions getROBOFLOW_MCP_VERSIONS_GETAcción

Get info about a dataset version including splits and its trainings. A workspace/project ID from Universe can also be read when the project is public; canonical visibility checks additionally require workspace:read and project:read. Private projects remain restricted to the connected workspace. Returns version details with id, name, images, splits, preprocessing, augmentation, and a ``trainings`` summary (one entry per training on the version: ``trainingId``, ``status``, ``modelType``, ``modelGroup``, ``modelIds``). Use trainings_get for a single run's detail and metrics. Readiness fields report generation state for callers that need to poll: ``generating`` is true only while generation looks actively in progress, and ``ready`` is true once generation is not active AND at least one train/valid/test split count is present. Generation usually takes several minutes and can take up to about an hour on large datasets, with ``progress`` stuck at 0 or null for most of that wait: that is normal, not stuck. Poll this tool roughly once a minute until ``ready`` is true. Trainability floors (min images per split, labels, NAS mins) are enforced by the platform train endpoint; if ``ready`` is false only because splits are empty/insufficient, waiting will not help. Call trainings_create and surface that error.

Parámetros de entrada

  • project_idstringObligatorio

    Project slug (e.g. 'my-project'); 'workspace/my-project' is also accepted.

  • version_numberintegerObligatorio

    Version number

Parámetros de salida

Sin parámetros.

Video pull capabilitiesROBOFLOW_MCP_VIDEO_PULL_CAPABILITIESAcción

Check available URL schemes, providers and source limits before adding a camera.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

Video pull createROBOFLOW_MCP_VIDEO_PULL_CREATEAcción

Add a camera and start its connection test. Poll video_pull_get until testing ends. Choose either a URL or a provider listed by video_pull_capabilities. The returned idempotencyKey is needed to safely retry a lost response. Camera URL fields are omitted from results because they may carry secrets.

Parámetros de entrada

  • urlany

    Public RTSP, RTSPS or supported HLS URL; may contain credentials.

  • namestringObligatorio

    Camera name.

  • passwordany

    Camera password, if required.

  • providerany

    Connected provider camera: connectionId, cameraId and optional resolution.

  • usernameany

    Camera username, if required.

  • accept_termsbooleanObligatorio

    Confirm you may connect Roboflow to this camera.

  • idempotency_keyany

    Reuse this key only to retry the same create request.

Parámetros de salida

Sin parámetros.

Video pull getROBOFLOW_MCP_VIDEO_PULL_GETAcción

Poll connection testing and inspect status, certificate, codec and errors.

Parámetros de entrada

  • source_idstringObligatorio

    Video source ID.

Parámetros de salida

Sin parámetros.

Video pull updateROBOFLOW_MCP_VIDEO_PULL_UPDATEAcción

Rename, change, or retest a camera. Poll video_pull_get for the test result. A URL, credential, or certificate change may restart active Workflows. The API rejects it until restart_workflows=true explicitly confirms that impact. Set trust_certificate=true only after reviewing the pinned/blocked fingerprint.

Parámetros de entrada

  • urlany

    New public camera URL.

  • nameany

    New camera name.

  • retestany

    Test the stored address again.

  • passwordany

    New camera password.

  • usernameany

    New camera username.

  • source_idstringObligatorio

    Video source ID.

  • restart_workflowsany

    Confirm active Workflows may restart and lose tracker and session state.

  • trust_certificateany

    Trust and pin the certificate currently presented by the camera.

Parámetros de salida

Sin parámetros.

Video segments annotateROBOFLOW_MCP_VIDEO_SEGMENTS_ANNOTATEAcción

Annotate one Action Recognition video Source with a complete video-coco document. To have a model label a batch of videos instead, use autolabel_start with model='video-segment'. Upload the video with image_upload_files when the host supplies it in the files input; if you would have to invent download_url or file_id, use video_upload if the client can PUT the bytes to the signed URL. For image_upload_files, first poll image_upload_status until ZIP processing completes, then poll video_upload_status for each returned video ID. Use the final videoId once status is "uploaded" (it can differ from the staged ID after deduplication). The ZIP status videoIds list stops at 100 IDs; if videosStaged exceeds the returned list length or failedChunks > 0, counts may be incomplete. Find remaining videos with images_search(project_id, media_types=["video"]), poll video_upload_status for unverified videos, and report a partial import if they cannot all be accounted for. Preserve the video's native PTS, frame indices, and rational time base. The API creates unknown classes unless the project locks them. It controls overwrite, split, and Dataset membership. No training starts. With job_name, saving moves the Source from its batch or current job to the named job, even if add_to_dataset=false. When adding to the Dataset without a name, a Source outside a job moves from its batch into "Annotated via API"; a Source already in a job stays there. Saving without Dataset addition or a job name preserves placement.

Parámetros de entrada

  • splitany

    Assign train, valid, or test split; omit to use the API default.

  • documentobjectObligatorio

    Complete roboflow-video-coco document with videos, categories, segments, native frame indices, PTS, and rational time_base.

  • job_nameany

    Move the video Source into this annotation job, creating it if needed. Omit to use the API's placement rules.

  • video_idstringObligatorio

    Final videoId from the video_upload_status response with status 'uploaded' (the canonical Source ID after deduplication).

  • overwriteboolean

    Replace different existing segments. Without this, identical retries succeed and conflicts return 409 with prior annotations preserved.

  • project_idstringObligatorio

    Action Recognition project slug, or workspace/project.

  • add_to_datasetany

    Add the video Source to the Dataset. Omit for the API default (true); false preserves existing membership.

Parámetros de salida

Sin parámetros.

Video uploadROBOFLOW_MCP_VIDEO_UPLOADAcción

Prepare a signed URL for uploading one local video (MP4 or MOV). Set project_id for a project video, for example one you will label with video_segments_annotate. Omit it for a workspace Asset Library video to use as a direct device stream on supported edge releases or with an RTSP Simulator. Split and batch require a project. This tool does not read or upload local files: the client HTTP PUTs the bytes to the returned signed URL. Prefer image_upload_files for MP4/MOV files in video-only projects when the host supplies them in the files input, including local paths when the host transfers them. If you would have to invent download_url or file_id, use video_upload. For other project types, use video_upload because ZIP imports skip videos. Use this signed-URL fallback when the host cannot transfer the selected video or it exceeds the file transfer tool's 1 GB limit, and the client can read and PUT the file. If sandbox networking blocks storage, use host-assisted transfer for video-only projects or the web uploader instead of repeating failed PUTs. Returns signedUrl, requiredHeaders, videoId, and client-side instructions. Remaining steps after this returns (detailed in the response instructions): 1. HTTP PUT the raw video file to signedUrl with every requiredHeaders entry plus a Content-Type header. 2. Poll video_upload_status(video_id) every few seconds until status is "uploaded" or "failed". Use the videoId from the "uploaded" response. A direct edge stream uses ``asset://<finalVideoId>`` as its video_reference on supported releases. The caller needs image:read and access to the uploaded video; the device API key needs image:read and access to its folder. Direct playback needs network access, free disk space, and a video within the device cache limit (1 GiB by default). For nearby-claimed runtime keys, use the RTSP Simulator. Re-uploading identical bytes creates no new video. It updates the existing one instead: its metadata changes and tags are added; project uploads also update its split. Use the final videoId from video_upload_status. Up to 3 GB per video. Signed URL expires in 1 hour.

Parámetros de entrada

  • splitany

    Dataset split for the video; omit for the API default (train).

  • filenamestringObligatorio

    Filename of the local video, e.g. 'clip.mp4'. Only the base name is sent and used as the video name.

  • metadataany

    Key-value metadata to store on the video (e.g. camera, location, date).

  • tag_namesany

    Tags to attach to the video

  • batch_nameany

    Group the upload under a named batch

  • project_idany

    Project slug (e.g. 'my-project'); omit for a workspace Asset Library video.

  • content_typeany

    Video MIME type, only for a filename with no extension. Omit to infer it from the .mp4 or .mov extension.

Parámetros de salida

Sin parámetros.

Video upload statusROBOFLOW_MCP_VIDEO_UPLOAD_STATUSAcción

Check ingestion of a raw video upload or a video staged from a ZIP. Use after the raw video PUT (video_upload step 1), or for each videoId returned by image_upload_status after image_upload_files or image_upload. Poll every 3-5 seconds while status is "pending"; "uploaded" and "failed" are terminal, and "failed" includes a message. When status is "uploaded", the response videoId is the final video ID (the canonical Source ID). On supported edge releases, use ``asset://<finalVideoId>`` as the direct device stream video_reference for an uploaded Asset Library video, or configure an RTSP Simulator. The caller needs image:read and video access; the device API key needs image:read and access to the video's folder. Direct playback needs network access, free disk space, and a video within the device cache limit (1 GiB by default). Use the RTSP Simulator for nearby-claimed keys. For project videos, pass the final ID to video_segments_annotate. It can differ from the id you polled with: when an identical video already existed, the upload is deduplicated, duplicate is true, and videoId names the existing video. That video takes the metadata of the new upload and gains its tags; project uploads also update its split. resolvedBatch is null for duplicates. Otherwise resolvedBatch names the batch the video joined.

Parámetros de entrada

  • video_idstringObligatorio

    videoId from video_upload or result.videoIds from image_upload_status

Parámetros de salida

Sin parámetros.

Vision events custom metadata schema getROBOFLOW_MCP_VISION_EVENTS_CUSTOM_METADATA_SCHEMA_GETAcción

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).

Parámetros de entrada

  • use_case_idstringObligatorio

    Use case id.

Parámetros de salida

Sin parámetros.

Vision events deleteROBOFLOW_MCP_VISION_EVENTS_DELETEAcción

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.

Parámetros de entrada

  • event_idsstring[]Obligatorio

    Non-empty list of event IDs to delete.

  • use_case_idstringObligatorio

    Use case containing the events.

  • delete_mediaboolean

    Also permanently delete media used only by these events. Requires project:update in addition to vision-events:manage; folder-scoped API keys cannot use this option.

Parámetros de salida

Sin parámetros.

Vision events image metadata schema getROBOFLOW_MCP_VISION_EVENTS_IMAGE_METADATA_SCHEMA_GETAcción

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``.

Parámetros de entrada

  • use_case_idstringObligatorio

    Use case id.

Parámetros de salida

Sin parámetros.

Vision events queryROBOFLOW_MCP_VISION_EVENTS_QUERYAcción

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.

Parámetros de entrada

  • limitany

    Page size (1-1000, default 100).

  • cursorany

    Pagination cursor from a previous page's 'nextCursor'.

  • end_timeany

    ISO 8601 upper bound on event timestamp.

  • event_idany

    Only the event with this event ID (exact match). For neq, in, or not_in, pass eventId through additional_filters instead.

  • device_idany

    Only events from this device id (exact match).

  • stream_idany

    Only events from this stream id (exact match).

  • start_timeany

    ISO 8601 lower bound on event timestamp (e.g. '2026-06-15T00:00:00Z'). Results are also capped by the workspace's lookback window, returned as 'lookbackDays'.

  • event_typesany

    Filter to these event types. Valid values: quality_check, inventory_count, safety_alert, custom, operator_feedback. Max 20.

  • use_case_idstringObligatorio

    Use case to query (the bucket events are grouped under). Discover available ids with vision_events_use_cases_list.

  • workflow_idany

    Only events from this workflow id (exact match).

  • saved_filter_idany

    Run a filter saved for this use case (id from vision_events_saved_filters_list), applied as the Search tab applies it. A saved filter is the whole search: pass it instead of filters, with only limit and cursor alongside. Passing it with any other filter is refused.

  • additional_filtersany

    Advanced structured filters merged into the query body, for cases the typed parameters above don't cover. Supported keys: 'detection' {operator: eq|neq|in|not_in, value: str|str[], confidence?: {operator: gt|gte|lt|lte, value: 0-1}}; 'customMetadataFilters' [{field, operator, value, type: string|number|boolean}] on event-level customMetadata keys; 'imageMetadataFilters' [same item shape] on per-image metadata keys (images[].metadata), where an event matches when ANY of its images satisfies the comparison and neq/not_in match only when NO image does (so events whose images lack the key match a neq). For both metadata filter lists, operators by type are string: eq|neq|in|not_in|text|exists|not_exists (in/not_in take up to 50 strings), number: eq|neq|gt|gte|lt|lte|exists|not_exists, boolean: eq|neq|exists|not_exists; max 20 filters each. Text operators are contains|not_contains|starts_with|not_starts_with|ends_with|not_ends_with (case-sensitive). Existence operators omit value; type is optional for them. Negated operators match missing fields. 'eventFieldFilters' [{column: event_type|result|location|item_count|item_type|alert_type|severity|feedback|related_event_id|description|custom_value, operator, value?}]; 'eventId' {operator: eq|neq|in|not_in, value: string or a nonempty list of up to 50 IDs, each at most 256 characters}; 'deviceId'|'streamId'|'workflowId'|'externalId' {operator: eq|neq|in|not_in|text|exists|not_exists, value?}; 'filterGroup' {op: and|or, items: [group or leaf]} ANDed with flat filters. A leaf uses the same filter keys but not useCaseId/startTime/endTime. Max depth 5, 20 groups and 50 predicates across the tree and flat filters. 'imageCount' {operator, value}; 'hasWarnings' bool; 'feedbackStatus' [correct|incorrect|inconclusive|none]. To match a device/stream/workflow with neq, pass it here as {operator: 'neq', value: ...} instead of the typed parameter.

Parámetros de salida

Sin parámetros.

Vision events saved filter createROBOFLOW_MCP_VISION_EVENTS_SAVED_FILTER_CREATEAcción

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}``.

Parámetros de entrada

  • namestringObligatorio

    Name shown in the Search tab (1-100 characters, unique per use case ignoring case).

  • groupany

    Optional {op: and|or, items: [chip or nested group]} combined with flat filters using AND. Group chips use the filters item shape; dates stay in flat filters. Up to 5 levels and 50 chips total.

  • filtersobject[]Obligatorio

    Flat Search-tab filter chips, combined with AND (0-50 items; at least one chip across filters and group). Each item is {category, operator, label, value?, field?, type?, confidence?}. category: eventType|deviceId|streamId|workflowId|eventId|externalId|customMetadata|eventField|startDate|endDate|detection|imageCount|videoCount|hasWarnings|hasFeedback. operator: eq|neq|gt|gte|lt|lte|in|not_in|contains|not_contains|starts_with|not_starts_with|ends_with|not_ends_with|exists|not_exists. Text operators need a non-empty string; exists/not_exists must omit value. Other values are a string, number, boolean, or list of strings. label: the text shown on the chip in the Search tab, e.g. 'Device: cam-1' (required). customMetadata needs field (the key, see vision_events_custom_metadata_schema_get) and type (string|number|boolean); eventField needs field (an event column such as result, severity, description or custom_value); eventId takes one ID or up to 50 IDs for in/not_in; detection takes a class name or list and may add confidence {operator, value 0-1}; hasFeedback takes a list of correct|incorrect|inconclusive|none; hasWarnings takes true. startDate and endDate take an ISO date or a relative date like 'now-7d', which is stored as written so the filter keeps meaning the last 7 days. Use one condition per category, except customMetadata and eventField, which can repeat. The platform rejects filters the event query would reject.

  • use_case_idstringObligatorio

    Use case id.

Parámetros de salida

Sin parámetros.

Vision events saved filter deleteROBOFLOW_MCP_VISION_EVENTS_SAVED_FILTER_DELETEAcción

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}``.

Parámetros de entrada

  • use_case_idstringObligatorio

    Use case id.

  • saved_filter_idstringObligatorio

    Saved filter id to delete.

Parámetros de salida

Sin parámetros.

Vision events saved filter getROBOFLOW_MCP_VISION_EVENTS_SAVED_FILTER_GETAcción

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

Parámetros de entrada

  • use_case_idstringObligatorio

    Use case id.

  • saved_filter_idstringObligatorio

    Saved filter id, from vision_events_saved_filters_list.

Parámetros de salida

Sin parámetros.

Vision events saved filters listROBOFLOW_MCP_VISION_EVENTS_SAVED_FILTERS_LISTAcción

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``.

Parámetros de entrada

  • use_case_idstringObligatorio

    Use case id.

Parámetros de salida

Sin parámetros.

Vision events saved filter updateROBOFLOW_MCP_VISION_EVENTS_SAVED_FILTER_UPDATEAcción

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}``.

Parámetros de entrada

  • nameany

    New name, to rename the filter.

  • groupany

    Replacement {op: and|or, items: [chip or nested group]}; null removes the existing group. Omit to keep it unchanged. An empty object also means unchanged. Dates stay in flat filters.

  • filtersany

    Replacement chips, to save over the filter. Flat Search-tab filter chips, combined with AND (0-50 items; at least one chip across filters and group). Each item is {category, operator, label, value?, field?, type?, confidence?}. category: eventType|deviceId|streamId|workflowId|eventId|externalId|customMetadata|eventField|startDate|endDate|detection|imageCount|videoCount|hasWarnings|hasFeedback. operator: eq|neq|gt|gte|lt|lte|in|not_in|contains|not_contains|starts_with|not_starts_with|ends_with|not_ends_with|exists|not_exists. Text operators need a non-empty string; exists/not_exists must omit value. Other values are a string, number, boolean, or list of strings. label: the text shown on the chip in the Search tab, e.g. 'Device: cam-1' (required). customMetadata needs field (the key, see vision_events_custom_metadata_schema_get) and type (string|number|boolean); eventField needs field (an event column such as result, severity, description or custom_value); eventId takes one ID or up to 50 IDs for in/not_in; detection takes a class name or list and may add confidence {operator, value 0-1}; hasFeedback takes a list of correct|incorrect|inconclusive|none; hasWarnings takes true. startDate and endDate take an ISO date or a relative date like 'now-7d', which is stored as written so the filter keeps meaning the last 7 days. Use one condition per category, except customMetadata and eventField, which can repeat. The platform rejects filters the event query would reject.

  • use_case_idstringObligatorio

    Use case id.

  • saved_filter_idstringObligatorio

    Saved filter id to change.

Parámetros de salida

Sin parámetros.

Vision events use case archiveROBOFLOW_MCP_VISION_EVENTS_USE_CASE_ARCHIVEAcción

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}``.

Parámetros de entrada

  • use_case_idstringObligatorio

    Use case id to archive.

Parámetros de salida

Sin parámetros.

Vision events use case createROBOFLOW_MCP_VISION_EVENTS_USE_CASE_CREATEAcción

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.

Parámetros de entrada

  • namestringObligatorio

    Human-readable name for the new use case.

Parámetros de salida

Sin parámetros.

Vision events use case renameROBOFLOW_MCP_VISION_EVENTS_USE_CASE_RENAMEAcción

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

Parámetros de entrada

  • namestringObligatorio

    New human-readable name.

  • use_case_idstringObligatorio

    Use case id to rename.

Parámetros de salida

Sin parámetros.

Vision events use cases listROBOFLOW_MCP_VISION_EVENTS_USE_CASES_LISTAcción

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.

Parámetros de entrada

  • statusany

    Filter by lifecycle status: 'active' (default) or 'inactive' (archived).

Parámetros de salida

Sin parámetros.

Vision events use case unarchiveROBOFLOW_MCP_VISION_EVENTS_USE_CASE_UNARCHIVEAcción

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}``.

Parámetros de entrada

  • use_case_idstringObligatorio

    Use case id to unarchive.

Parámetros de salida

Sin parámetros.

Workflow blocks get schemaROBOFLOW_MCP_WORKFLOW_BLOCKS_GET_SCHEMAAcción

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.

Parámetros de entrada

  • manifeststringObligatorio

    Block identifier: the manifest key from workflow_blocks_list, the block type used in specifications (e.g. 'roboflow_core/open_ai@v7'), or a type alias.

Parámetros de salida

Sin parámetros.

Workflow blocks listROBOFLOW_MCP_WORKFLOW_BLOCKS_LISTAcción

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.

Parámetros de entrada

  • block_typeany

    Filter by block category. If omitted, all blocks are returned.

Parámetros de salida

  • resultobject[]Obligatorio
Workflow branches listROBOFLOW_MCP_WORKFLOW_BRANCHES_LISTAcción

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

Parámetros de entrada

  • afterany

    Cursor returned as nextCursor by the previous page.

  • limitinteger

    Maximum branch count, from 1 to 100.

  • workflow_idstringObligatorio

    Workflow document ID.

Parámetros de salida

Sin parámetros.

Workflow branch getROBOFLOW_MCP_WORKFLOW_BRANCH_GETAcción

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.

Parámetros de entrada

  • branch_idstringObligatorio

    Branch ID from workflow_branches_list.

  • workflow_idstringObligatorio

    Workflow document ID.

Parámetros de salida

Sin parámetros.

Workflow branch mergeROBOFLOW_MCP_WORKFLOW_BRANCH_MERGEAcción

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.

Parámetros de entrada

  • branch_idstringObligatorio

    Branch ID to merge.

  • workflow_idstringObligatorio

    Workflow document ID.

  • overwrite_mainboolean

    Replace Main on conflict. Only use when the user explicitly asks to overwrite Main.

  • expected_head_version_idstringObligatorio

    Branch head from workflow_branch_merge_preview.

  • expected_main_head_version_idstringObligatorio

    Main head from the same merge preview.

Parámetros de salida

Sin parámetros.

Workflow branch merge previewROBOFLOW_MCP_WORKFLOW_BRANCH_MERGE_PREVIEWAcción

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.

Parámetros de entrada

  • branch_idstringObligatorio

    Branch ID from workflows_get or workflow_branches_list.

  • workflow_idstringObligatorio

    Workflow document ID.

Parámetros de salida

Sin parámetros.

Workflow deploy gates listROBOFLOW_MCP_WORKFLOW_DEPLOY_GATES_LISTAcción

Read every configured gate and its current status for a Workflow.

Parámetros de entrada

  • workflow_idstringObligatorio

    Workflow document ID.

Parámetros de salida

Sin parámetros.

Workflow deploy gates openapi getROBOFLOW_MCP_WORKFLOW_DEPLOY_GATES_OPENAPI_GETAcción

Read the public deploy gate API OpenAPI schema.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

Workflow deploy gates workspace listROBOFLOW_MCP_WORKFLOW_DEPLOY_GATES_WORKSPACE_LISTAcción

List Eval gates in the workspace. Requires View Workflow Evals permission.

Parámetros de entrada

  • eval_idany

    Filter to gates backed by this Eval ID.

Parámetros de salida

Sin parámetros.

Workflow eval deploy checks listROBOFLOW_MCP_WORKFLOW_EVAL_DEPLOY_CHECKS_LISTAcción

Read Eval check history. Results require workflow-evals:read and View Workflow Evals.

Parámetros de entrada

  • version_idany

    Optional version ID for one check.

  • workflow_idstringObligatorio

    Workflow document ID.

Parámetros de salida

Sin parámetros.

Workflow eval deploy gate getROBOFLOW_MCP_WORKFLOW_EVAL_DEPLOY_GATE_GETAcción

Read the Eval gate and thresholds; gate is null when none is configured.

Parámetros de entrada

  • workflow_idstringObligatorio

    Workflow document ID.

Parámetros de salida

Sin parámetros.

Workflow eval deploy gate new check thresholds setROBOFLOW_MCP_WORKFLOW_EVAL_DEPLOY_GATE_NEW_CHECK_THRESHOLDS_SETAcción

Set thresholds for Eval checks missing from the gate. Requires Manage Workflow Evals.

Parámetros de entrada

  • workflow_idstringObligatorio

    Workflow document ID.

  • check_thresholdsobject[]Obligatorio

    Thresholds for newly added Eval checks.

Parámetros de salida

Sin parámetros.

Workflow eval deploy gate policy updateROBOFLOW_MCP_WORKFLOW_EVAL_DEPLOY_GATE_POLICY_UPDATEAcción

Change only selected Eval thresholds; requires Manage Workflow Deploy Gates.

Parámetros de entrada

  • workflow_idstringObligatorio

    Workflow document ID.

  • check_thresholdsobject[]Obligatorio

    Nonempty checkId and minimumPassRate entries (0.001 to 1, in 0.001 steps).

  • expected_updated_atany

    The gate updatedAt last read; omit to skip concurrency check.

Parámetros de salida

Sin parámetros.

Workflow eval deploy gate removeROBOFLOW_MCP_WORKFLOW_EVAL_DEPLOY_GATE_REMOVEAcción

Remove the Eval gate. Requires Manage Workflow Deploy Gates permission.

Parámetros de entrada

  • workflow_idstringObligatorio

    Workflow document ID.

Parámetros de salida

Sin parámetros.

Workflow eval deploy gate setROBOFLOW_MCP_WORKFLOW_EVAL_DEPLOY_GATE_SETAcción

Set the Eval gate. Requires Manage Workflow Deploy Gates permission. Changing a gate revision makes earlier check results outdated. Checks left out require every applicable Case to pass.

Parámetros de entrada

  • eval_idstringObligatorio

    Eval ID to require before publishing.

  • workflow_idstringObligatorio

    Workflow document ID.

  • expect_no_gateboolean

    Set true to require that no Eval gate exists (sends expectedUpdatedAt: null).

  • check_thresholdsany

    Optional checkId and minimumPassRate entries (0.001 to 1, in 0.001 steps).

  • expected_updated_atany

    The gate updatedAt last read; omit to skip concurrency check.

Parámetros de salida

Sin parámetros.

Workflow evals agent manifestROBOFLOW_MCP_WORKFLOW_EVALS_AGENT_MANIFESTAcción

Get the engine's agent manifest. Start here before designing or drafting an Eval. To evaluate a Project's current model, first call project_deployment_get. Its ``model`` and ``deployment.status`` show whether a model is ready; ``deployment.url`` is the Project base Workflow URL, which can differ from the Project slug. If no model is configured, say so and offer to set one with project_deployment_set_model; do not create an empty Workflow or attach the Project base Workflow itself. Do not change a configured serving model just to evaluate it. For a configured model, page through workflows_list and inspect candidate definitions with workflows_get (the published version when present). Reuse a saved Workflow only if its definition has exactly one ``roboflow_core/inner_workflow@v1`` Project Model step pointing to the same workspace and base Workflow URL, has no pinned version or model/parameter overrides, binds only ``image`` to ``$inputs.image``, and exposes that step's predictions. Otherwise use workflow_specs_validate and workflows_create to save that one-step Workflow. Its input is ``InferenceImage image``; its step is named ``model`` with ``workflow_workspace_id`` set to the workspace slug, ``workflow_id`` set to ``deployment.url``, ``workflow_version_id`` null, and ``parameter_bindings`` set to ``{'image':'$inputs.image'}``. Expose ``$steps.model.predictions`` as a ``JsonField`` output named ``predictions`` with ``coordinates_system`` ``own``. Attach the saved Workflow document ID as a savedWorkflow Eval Subject and use it in the Run. This wrapper follows the Project's current model. After that model changes, start the next Run with ``execution_reuse='never'`` so old outputs are not reused. Returns ``{engineVersion, manifest}``: ``entrySkill`` plus IDs of skills, bundles, schemas, resources, tool contracts, and examples. To draft a Spec and its bindings yourself: 1. Read ``entrySkill`` (e.g. 'skill:workflow-evals') and the task skill (e.g. 'skill:create-eval') with workflow_evals_agent_resource_get. 2. Read the task bundle (e.g. 'bundle:create-eval') and fetch the schemas and examples listed in its ``assets`` with ``kind='asset'``. 3. Write the Spec from the user's intent, the Workflow's inputs/outputs (workflows_get), and the Dataset contract. Iterate with workflow_evals_specs_validate, then save with workflow_evals_specs_create. 4. Get bindings from workflow_evals_bindings_suggest (or write them), confirm with workflow_evals_bindings_validate, and review both with the user. If ``engineVersion`` changes between calls, reload the manifest.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

Workflow evals agent resource getROBOFLOW_MCP_WORKFLOW_EVALS_AGENT_RESOURCE_GETAcción

Get one engine-owned agent resource. ``skill`` returns Markdown ``content``; ``bundle`` returns the parsed ``bundle`` whose ``assets`` IDs can be fetched with ``kind='asset'`` (schemas, resources, tool contracts, examples). Unknown IDs or IDs from another category return 404.

Parámetros de entrada

  • kindstringObligatorioenum

    Resource category the ID belongs to.

    skillbundleasset
  • resource_idstringObligatorio

    Case-sensitive manifest ID, e.g. 'skill:workflow-evals', 'skill:create-eval', 'bundle:create-eval', or an asset such as 'schema:spec' or 'example:create-eval-spec'.

Parámetros de salida

Sin parámetros.

Workflow evals agent resources listROBOFLOW_MCP_WORKFLOW_EVALS_AGENT_RESOURCES_LISTAcción

List engine-owned agent skills or bundles. Returns ``{engineVersion, items}``.

Parámetros de entrada

  • kindstringObligatorioenum

    List skills or bundles.

    skillbundle

Parámetros de salida

Sin parámetros.

Workflow evals bindings suggestROBOFLOW_MCP_WORKFLOW_EVALS_BINDINGS_SUGGESTAcción

Propose a BindingSet mapping a Spec's inputs/outputs onto a Workflow Subject. Returns one proposed BindingSet and the normalized ``workflowSubject``. Nothing is saved; validate the BindingSet with workflow_evals_bindings_validate, then save it in the Eval's ``subject_bindings`` map keyed by Subject ID. Saved Workflow Subjects also need workflow:read.

Parámetros de entrada

  • spec_idstringObligatorio

    Saved Spec ID.

  • subjectobjectObligatorio

    Workflow Subject: {'kind':'savedWorkflow','workflowId':<Workflow document ID>,'subjectKey':<same ID>}, {'kind':'savedWorkflowVersion','workflowId':...,'workflowVersionId':...,'subjectKey':...}, or {'kind':'inline','manifest':<raw Workflow JSON>,'subjectKey':...}.

  • eval_dataset_idstringObligatorio

    Eval Dataset ID.

Parámetros de salida

Sin parámetros.

Workflow evals bindings validateROBOFLOW_MCP_WORKFLOW_EVALS_BINDINGS_VALIDATEAcción

Validate a BindingSet against a Spec, Dataset, and Subject. Returns ``{valid, diagnostics, ...}`` with the planned capture contract. A valid BindingSet is what an Eval Run executes against. To save it on an Eval, pass ``subject_bindings`` as {Subject ID: BindingSet}, never the bare BindingSet. The key is the Workflow document ID for a saved Workflow (never its URL slug), ``workflowVersionId`` for a saved version, or ``subjectKey`` for an inline Subject. Saved Workflow Subjects also need workflow:read.

Parámetros de entrada

  • spec_idstringObligatorio

    Saved Spec ID.

  • subjectobjectObligatorio

    Workflow Subject: {'kind':'savedWorkflow','workflowId':<Workflow document ID>,'subjectKey':<same ID>}, {'kind':'savedWorkflowVersion','workflowId':...,'workflowVersionId':...,'subjectKey':...}, or {'kind':'inline','manifest':<raw Workflow JSON>,'subjectKey':...}.

  • binding_setobjectObligatorio

    Complete BindingSet: schemaVersion, id, inputs, outputs.

  • eval_dataset_idstringObligatorio

    Eval Dataset ID.

Parámetros de salida

Sin parámetros.

Workflow evals capabilitiesROBOFLOW_MCP_WORKFLOW_EVALS_CAPABILITIESAcción

Describe the Workflow Evals API: operations, schemas, evaluators, and caller actions. Start here in an unfamiliar workspace. Returns ``workspace`` (the authenticated workspace URL slug, not the internal id), the public operation registry, each operation's required permission, the installed engine version, and which actions the current credential can perform. Never changes state.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

Workflow evals case assets uploadROBOFLOW_MCP_WORKFLOW_EVALS_CASE_ASSETS_UPLOADAcción

Start uploading a local image as Case input. The MCP server never receives bytes. Returns ``{uploadId, artifactId, uploadUrl, requiredHeaders, expiresInSeconds}`` and ``instructions``. Then: 1. HTTP PUT the file bytes to ``uploadUrl`` with exactly ``requiredHeaders``. 2. Call workflow_evals_case_assets_upload_complete(eval_dataset_id, upload_id). 3. Use ``{'artifactId': ...}`` as the image input in workflow_evals_cases_create.

Parámetros de entrada

  • roleany

    Optional asset role.

  • asset_namestringObligatorio

    Filename, e.g. 'frame-001.jpg' (max 256 chars).

  • content_typestringObligatorioenum

    Image MIME type.

    image/jpegimage/pngimage/webpimage/gif
  • expected_sizeintegerObligatorio

    Exact file size in bytes.

  • eval_dataset_idstringObligatorio

    Eval Dataset ID.

  • idempotency_keyany

    UUID v4 Idempotency-Key. For work that costs credits, generate one yourself so a retry after a lost response cannot start duplicate work. If omitted, one is generated and returned as idempotencyKey (also in error data). Reuse a key only to retry this exact request.

Parámetros de salida

Sin parámetros.

Workflow evals case assets upload completeROBOFLOW_MCP_WORKFLOW_EVALS_CASE_ASSETS_UPLOAD_COMPLETEAcción

Verify and publish an uploaded Case image. Returns the stable ``artifactId``. Checks size, type, and that the bytes decode as an image. Call only after the PUT to the signed URL succeeded.

Parámetros de entrada

  • upload_idstringObligatorio

    The `uploadId` from workflow_evals_case_assets_upload.

  • eval_dataset_idstringObligatorio

    Eval Dataset ID.

Parámetros de salida

Sin parámetros.

Workflow evals case imports getROBOFLOW_MCP_WORKFLOW_EVALS_CASE_IMPORTS_GETAcción

Poll a Case import. ``status`` is queued, running, completed, partially_completed, failed, or cancelled; ``progress`` has discovered, processed, adopted, failed, total. List Cases with workflow_evals_cases_list while it runs.

Parámetros de entrada

  • intake_idstringObligatorio

    The `intakeId` from workflow_evals_cases_import.

  • eval_dataset_idstringObligatorio

    Eval Dataset ID.

Parámetros de salida

Sin parámetros.

Workflow evals case preparations casesROBOFLOW_MCP_WORKFLOW_EVALS_CASE_PREPARATIONS_CASESAcción

Page through prepared Cases and their candidate outputs. With include='proposal', successful Cases include ``proposal.groundTruth`` mapped through the Eval's saved bindings onto Dataset fields. Check ``proposal.imageSizes`` before using boxes: boxes from a crop or resized image may not align with the Case image. ``proposal.unmapped`` explains missing fields; ``proposal.outputSummary`` gives bounded output evidence when mapping is incomplete. Treat predictions as drafts to review and correct before marking ground truth complete. Follow ``cursor`` until absent. If a page exceeds the client's result limit, retry that page with a smaller ``limit`` and the same input cursor. Each success also has a short-lived ``candidateOutput.readUrl`` for raw Workflow output; do not share or persist signed URLs.

Parámetros de entrada

  • limitany

    Page size, 1-100 (default 5 with proposals, otherwise 50).

  • cursorany

    Opaque `nextCursor` from the previous page.

  • eval_idstringObligatorio

    Eval ID.

  • includeany

    Set to 'proposal' to include draft labels mapped through the Eval's saved bindings.

  • preparation_idstringObligatorio

    Preparation ID.

Parámetros de salida

Sin parámetros.

Workflow evals case preparations getROBOFLOW_MCP_WORKFLOW_EVALS_CASE_PREPARATIONS_GETAcción

Get a Case preparation's state and progress (current one when no ID is given). Returns ``{}`` when the Eval has no current preparation.

Parámetros de entrada

  • eval_idstringObligatorio

    Eval ID.

  • preparation_idany

    Preparation ID. Omit to get the current one for this Eval.

Parámetros de salida

Sin parámetros.

Workflow evals case preparations resumeROBOFLOW_MCP_WORKFLOW_EVALS_CASE_PREPARATIONS_RESUMEAcción

Resume a preparation, keeping successful Cases and requeueing only failed ones.

Parámetros de entrada

  • eval_idstringObligatorio

    Eval ID.

  • preparation_idstringObligatorio

    Preparation ID.

Parámetros de salida

Sin parámetros.

Workflow evals case preparations startROBOFLOW_MCP_WORKFLOW_EVALS_CASE_PREPARATIONS_STARTAcción

Run the Eval's Workflow over Dataset Cases to produce candidate outputs. Costs inference. Helps draft ground truth from predictions. Save the Eval's Spec and subject_bindings for its Workflow first (suggest and validate bindings, then update the Eval); without them predictions cannot map to labels. Returns 202 with the preparation (``id``, ``state``, progress counters). Poll with workflow_evals_case_preparations_get, then page through workflow_evals_case_preparations_cases with include='proposal'.

Parámetros de entrada

  • eval_idstringObligatorio

    Eval ID (its Subject and Dataset are used).

  • runtimeany

    {'kind':'serverless'} (default) or {'kind':'dedicated','url':'https://*.roboflow.cloud'}.

  • case_import_idany

    Running Case-import AsyncTask to follow as the Dataset grows.

  • case_selectionany

    {'kind':'all'} (default) or {'kind':'explicit','caseIds':[...]} (max 500).

  • idempotency_keyany

    UUID v4 Idempotency-Key. For work that costs credits, generate one yourself so a retry after a lost response cannot start duplicate work. If omitted, one is generated and returned as idempotencyKey (also in error data). Reuse a key only to retry this exact request.

Parámetros de salida

Sin parámetros.

Workflow evals cases createROBOFLOW_MCP_WORKFLOW_EVALS_CASES_CREATEAcción

Add one Case to an Eval Dataset, validated against the Dataset's contracts. A Run that selects an incomplete Case is rejected with ``EVAL_NOT_READY`` and the ``incompleteCaseIds``.

Parámetros de entrada

  • urlany

    Optional readable URL suggestion.

  • namestringObligatorio

    Case name.

  • inputsobjectObligatorio

    Concrete inputs keyed by declared input name. Images: {'artifactId': ...} from workflow_evals_case_assets_upload_complete.

  • slicesany

    Slice labels for grouping results.

  • ground_truthobjectObligatorio

    Ground truth keyed by declared field name.

  • evidence_refsany

    Optional evidence references.

  • eval_dataset_idstringObligatorio

    Eval Dataset ID.

  • idempotency_keyany

    UUID v4 Idempotency-Key. For work that costs credits, generate one yourself so a retry after a lost response cannot start duplicate work. If omitted, one is generated and returned as idempotencyKey (also in error data). Reuse a key only to retry this exact request.

  • ground_truth_stateany

    Default complete. Use incomplete to save a draft that lacks required ground truth (present values are still type-checked); approve it later with workflow_evals_cases_replace.

Parámetros de salida

Sin parámetros.

Workflow evals cases deleteROBOFLOW_MCP_WORKFLOW_EVALS_CASES_DELETEAcción

Remove a Case from the live Dataset. Runs that already froze it stay readable. When the user explicitly replaces an example with a different image, create or import the new image as an incomplete Case first, then delete the old Case using its current revision. Keep both only if the user asked to add an example. Do not delete a mislabeled Case; correct it in place.

Parámetros de entrada

  • case_idstringObligatorio

    Case ID.

  • revisionintegerObligatorio

    Current numeric `revision` of the resource (from its last read). Stale revisions return 412.

  • eval_dataset_idstringObligatorio

    Eval Dataset ID.

Parámetros de salida

Sin parámetros.

Workflow evals cases getROBOFLOW_MCP_WORKFLOW_EVALS_CASES_GETAcción

Get one complete Case with short-lived read URLs for its assets and its ``revision``.

Parámetros de entrada

  • case_idstringObligatorio

    Case ID.

  • eval_dataset_idstringObligatorio

    Eval Dataset ID.

Parámetros de salida

Sin parámetros.

Workflow evals cases importROBOFLOW_MCP_WORKFLOW_EVALS_CASES_IMPORTAcción

Bulk-import images from Roboflow sources, project datasets, or uploaded artifacts. Returns 202 ``{intakeId, asyncTaskId, status, pollUrl}``; poll with workflow_evals_case_imports_get. Imported Cases start with incomplete ground truth and cannot be run until it is reviewed and completed with workflow_evals_cases_replace. To copy a Project's existing labels, import its Dataset test split with groundTruthOutput on the item and ground_truth_eval_id set to the attached Eval's ID. The Eval must already have this Dataset and a saved Workflow subject. Choose a compatible exposed prediction output of the Project's type computed on the original image. Use the sole compatible output from the Project's own model directly; otherwise ask which output should receive the labels, including an images-only choice. Omitting groundTruthOutput imports images without labels. With a declared ground truth contract, the API writes annotations into its field of the matching type, preferring the field named groundTruthOutput when several match; a missing or ambiguous matching field is rejected. Without a contract, it uses the groundTruthOutput name. Imported labels remain incomplete drafts: show them for review and approve them before setting ground truth complete. Draft labels only for Cases without annotations. At most 10,000 Cases per intake. Source imports need image:read; dataset imports need project:read and image:read.

Parámetros de entrada

  • itemsobject[]Obligatorio

    What to import: {'kind':'source','sourceId':...}, {'kind':'dataset','datasetId':...,'split':'train'|'valid'|'test','groundTruthOutput':<Workflow output>}, or {'kind':'artifact','artifactId':...}.

  • slicesany

    Slices applied to every imported Case.

  • input_fieldstringObligatorio

    Declared InferenceImage input that receives each image.

  • eval_dataset_idstringObligatorio

    Eval Dataset ID.

  • idempotency_keyany

    UUID v4 Idempotency-Key. For work that costs credits, generate one yourself so a retry after a lost response cannot start duplicate work. If omitted, one is generated and returned as idempotencyKey (also in error data). Reuse a key only to retry this exact request.

  • ground_truth_eval_idany

    Eval ID whose saved Workflow subject supplies groundTruthOutput for test-split annotation imports. Required when an item includes groundTruthOutput.

Parámetros de salida

Sin parámetros.

Workflow evals cases listROBOFLOW_MCP_WORKFLOW_EVALS_CASES_LISTAcción

List Cases in an Eval Dataset (summaries, no media bytes).

Parámetros de entrada

  • limitany

    Page size, 1-200 (default 50).

  • cursorany

    Opaque `nextCursor` from the previous page.

  • slicesany

    Only Cases in these slices.

  • slice_matchany

    How to combine slices.

  • eval_dataset_idstringObligatorio

    Eval Dataset ID.

  • ground_truth_completenessany

    Filter by ground-truth state.

Parámetros de salida

Sin parámetros.

Workflow evals cases replaceROBOFLOW_MCP_WORKFLOW_EVALS_CASES_REPLACEAcción

Replace a Case atomically (full replacement, not a field patch). Read workflow_evals_cases_get first and preserve its name, groundTruthState, slices, and evidenceRefs unless deliberately changing them. Set ground_truth_state to complete only after the user confirms the answer. Apply user-stated corrections yourself after confirmation. Include every required ground-truth field, using [] or 0 for an empty answer when its type calls for that value. Never use null or omit a required empty answer. Runs that froze the Case keep their copy.

Parámetros de entrada

  • namestringObligatorio

    Case name. Preserve the current name unless renaming.

  • inputsobjectObligatorio

    Complete replacement inputs.

  • slicesany

    Complete replacement slices.

  • case_idstringObligatorio

    Case ID.

  • revisionintegerObligatorio

    Current numeric `revision` of the resource (from its last read). Stale revisions return 412.

  • ground_truthobjectObligatorio

    Complete replacement ground truth.

  • evidence_refsany

    Replacement evidence references.

  • eval_dataset_idstringObligatorio

    Eval Dataset ID.

  • ground_truth_statestringObligatorioenum

    Preserve the current state when editing a draft; use complete to approve ground truth.

    incompletecomplete

Parámetros de salida

Sin parámetros.

Workflow evals createROBOFLOW_MCP_WORKFLOW_EVALS_CREATEAcción

Create an Eval. Every field is optional; an empty call creates a draft. For a Project's current model, follow the project_deployment_get and saved Project Model Workflow selection in workflow_evals_agent_manifest before attaching a Subject. The Project base Workflow is not the Subject. The Eval becomes ``ready`` once it has an engine-valid Spec and a compatible Eval Dataset. If it has an authoring Workflow Subject, its ``subject_bindings`` must also map every outcome check output. Missing output mappings keep it ``draft`` with ``missing_bindings`` diagnostics; use workflow_evals_bindings_suggest and workflow_evals_bindings_validate to prepare the mappings. For one saved Workflow, attach its document ID as ``workflowId`` and ``subjectKey`` (the Workflow document ID). After validating a BindingSet, save ``subject_bindings`` keyed by that ID and ``server_configuration`` matching the Run server before starting a Run, so the Eval page can run the same Workflow. Inline Subjects remain available for multi-candidate searches. Returns the Eval detail including its ``revision`` (needed for workflow_evals_update).

Parámetros de entrada

  • nameany

    Eval name. Defaults to 'Untitled evaluation'.

  • spec_idany

    Saved Spec to attach.

  • subjectany

    Attach the Workflow being evaluated: {'kind':'savedWorkflow','workflowId':<Workflow document ID>,'subjectKey':<same ID>}. Selecting it needs workflow:read. Use an inline Subject for an explicit multi-candidate search.

  • descriptionany

    Optional description.

  • eval_dataset_idany

    Eval Dataset to attach.

  • idempotency_keyany

    UUID v4 Idempotency-Key. For work that costs credits, generate one yourself so a retry after a lost response cannot start duplicate work. If omitted, one is generated and returned as idempotencyKey (also in error data). Reuse a key only to retry this exact request.

  • subject_bindingsany

    Optional {<Subject ID>: <validated BindingSet>} map, not a bare BindingSet. Use the Workflow document ID, not its URL slug, for a saved Workflow; workflowVersionId for a saved version; subjectKey for an inline Subject.

  • server_configurationany

    Save the server your Runs use so the Eval page can run the attached Workflow: {'kind':'serverless'}, {'kind':'dedicated','url':'https://*.roboflow.cloud'}, or {'kind':'local','url':...} (local is browser-only).

Parámetros de salida

Sin parámetros.

Workflow evals datasets compatible specsROBOFLOW_MCP_WORKFLOW_EVALS_DATASETS_COMPATIBLE_SPECSAcción

List Specs whose input and ground-truth requirements this Dataset satisfies.

Parámetros de entrada

  • limitany

    Page size, 1-200 (default 50).

  • cursorany

    Opaque `nextCursor` from the previous page.

  • eval_dataset_idstringObligatorio

    Eval Dataset ID.

Parámetros de salida

Sin parámetros.

Workflow evals datasets createROBOFLOW_MCP_WORKFLOW_EVALS_DATASETS_CREATEAcción

Create an empty Eval Dataset with declared input and ground-truth contracts. Add Cases with workflow_evals_cases_create or workflow_evals_cases_import. Adding Cases never changes the contracts; use workflow_evals_datasets_update_contract.

Parámetros de entrada

  • namestringObligatorio

    Dataset name.

  • inputsobject[]Obligatorio

    Declared input fields (schema: roboflow://workflow-evals/schemas/eval-dataset).

  • descriptionany

    Optional description.

  • idempotency_keyany

    UUID v4 Idempotency-Key. For work that costs credits, generate one yourself so a retry after a lost response cannot start duplicate work. If omitted, one is generated and returned as idempotencyKey (also in error data). Reuse a key only to retry this exact request.

  • ground_truth_contractobject[]Obligatorio

    Declared ground-truth fields.

Parámetros de salida

Sin parámetros.

Workflow evals datasets getROBOFLOW_MCP_WORKFLOW_EVALS_DATASETS_GETAcción

Get an Eval Dataset and its derived summary (no Cases inline) plus ``revision``.

Parámetros de entrada

  • eval_dataset_idstringObligatorio

    Eval Dataset ID.

Parámetros de salida

Sin parámetros.

Workflow evals datasets listROBOFLOW_MCP_WORKFLOW_EVALS_DATASETS_LISTAcción

List Eval Datasets with declared contracts, Case counts, slices, and completeness.

Parámetros de entrada

  • limitany

    Page size, 1-200 (default 50).

  • cursorany

    Opaque `nextCursor` from the previous page.

Parámetros de salida

Sin parámetros.

Workflow evals datasets searchROBOFLOW_MCP_WORKFLOW_EVALS_DATASETS_SEARCHAcción

Search Cases by semantic content, Source metadata and saved ground truth. Source/semantic filters additionally require image:read and current image-search permission; only Source-backed Cases match them. Ground-truth filters also cover artifact-only Cases. Read-only: does not run Workflows or create embeddings. Returns items, dataset revisions, coverage, total (possibly null), nextCursor. Continue with the same query and limit even after an empty page; stop only when nextCursor is absent. Restart without cursor on 409. Preview URLs expire. Detailed GT filters can return 422 for oversized labels or encoded semantic masks.

Parámetros de entrada

  • limitinteger

    Page size, 1-48 (default 24).

  • queryany

    Structured filters: semantic (text); source (filename, tags, width/height {min,max}); groundTruth (state complete/incomplete, slices, sliceMatch any/all, output, className, count {min,max}, scalar {output,value}). Class/count require output. Example: {'groundTruth':{'output':'boxes','className':'car','count':{'min':1}}}.

  • cursorany

    Opaque `nextCursor` from the previous page.

  • eval_dataset_idstringObligatorio

    Eval Dataset ID.

Parámetros de salida

Sin parámetros.

Workflow evals datasets updateROBOFLOW_MCP_WORKFLOW_EVALS_DATASETS_UPDATEAcción

Update Eval Dataset metadata (name/description).

Parámetros de entrada

  • nameany

    New name.

  • revisionintegerObligatorio

    Current numeric `revision` of the resource (from its last read). Stale revisions return 412.

  • descriptionany

    New description.

  • eval_dataset_idstringObligatorio

    Eval Dataset ID.

Parámetros de salida

Sin parámetros.

Workflow evals datasets update contractROBOFLOW_MCP_WORKFLOW_EVALS_DATASETS_UPDATE_CONTRACTAcción

Replace a Dataset's declared input and/or ground-truth contract. A schema-only change returns the updated Dataset. A change that rewrites Cases returns 202 with an AsyncTask (poll with async_tasks_get); Case writes are rejected until it completes.

Parámetros de entrada

  • inputsany

    Replacement declared inputs.

  • revisionintegerObligatorio

    Current numeric `revision` of the resource (from its last read). Stale revisions return 412.

  • eval_dataset_idstringObligatorio

    Eval Dataset ID.

  • ground_truth_contractany

    Replacement ground-truth contract.

Parámetros de salida

Sin parámetros.

Workflow evals deleteROBOFLOW_MCP_WORKFLOW_EVALS_DELETEAcción

Delete an Eval with all its Runs, Executions, results, and owned artifacts. Two steps. First call without ``deletion_key``: nothing is deleted; returns ``{confirmationRequired: true, deletionKey, impact}``. Show the impact to the user and get explicit confirmation, then call again with ``deletion_key``. That admits deletion and returns ``{asyncTaskId, statusUrl}``; poll with workflow_evals_operation_get. Shared Specs and Datasets are kept. If this Eval backs Workflow deploy gates, the preview lists the affected Workflows in ``impact.deployGates``. Confirming deletion removes those gates and cancels their pending deploy checks. Deleting a gated Eval also requires the ``workflow:update`` scope and, for a user, Manage Workflow Deploy Gates permission. These extra requirements do not apply to an ungated Eval.

Parámetros de entrada

  • eval_idstringObligatorio

    Eval ID.

  • deletion_keyany

    The `deletionKey` from the first call. Only pass it after the user confirmed the impact.

Parámetros de salida

Sin parámetros.

Workflow evals embeddings cancelROBOFLOW_MCP_WORKFLOW_EVALS_EMBEDDINGS_CANCELAcción

Request cooperative cancellation of an embedding job.

Parámetros de entrada

  • run_idstringObligatorio

    Run ID.

  • eval_idstringObligatorio

    Eval ID.

  • execution_idstringObligatorio

    Execution ID.

  • async_task_idstringObligatorio

    Embedding job `asyncTaskId`.

Parámetros de salida

Sin parámetros.

Workflow evals embeddings getROBOFLOW_MCP_WORKFLOW_EVALS_EMBEDDINGS_GETAcción

Get embedding analysis jobs. Never launches analysis. With ``provider`` or ``async_task_id``, returns ``{job}`` (``job`` is null when none exists). With neither, returns ``{jobs: {<provider>: job | null}}`` for every provider, plus ``errors: {<provider>: message}`` for providers that could not be read. Completed jobs have ``result.url``: a file with 2D ``points`` per Case (coordinates 8..92) plus ``skipped`` Cases. New Runs start these jobs on their own.

Parámetros de entrada

  • run_idstringObligatorio

    Run ID.

  • eval_idstringObligatorio

    Eval ID.

  • providerany

    Read this provider's job. Omit both filters to read every provider's job.

  • execution_idstringObligatorio

    Execution ID.

  • async_task_idany

    Read a specific job attempt instead.

Parámetros de salida

Sin parámetros.

Workflow evals embeddings startROBOFLOW_MCP_WORKFLOW_EVALS_EMBEDDINGS_STARTAcción

Generate (or reuse) a 2D embedding projection of an Execution's input images. New Runs schedule this automatically; use it for older Runs or explicit retries. Returns the job; poll with workflow_evals_embeddings_get.

Parámetros de entrada

  • retryboolean

    Retry a failed/cancelled job (use a new idempotency key).

  • run_idstringObligatorio

    Run ID.

  • eval_idstringObligatorio

    Eval ID.

  • providerstringObligatorioenum

    Embedding model provider.

    clipdinov2dinov3siglip2
  • input_keyany

    Image input to embed (fixed by the first request for this provider).

  • execution_idstringObligatorio

    Execution ID.

  • idempotency_keyany

    UUID v4 Idempotency-Key. For work that costs credits, generate one yourself so a retry after a lost response cannot start duplicate work. If omitted, one is generated and returned as idempotencyKey (also in error data). Reuse a key only to retry this exact request.

Parámetros de salida

Sin parámetros.

Workflow evals evaluators getROBOFLOW_MCP_WORKFLOW_EVALS_EVALUATORS_GETAcción

Get one evaluator's description and configuration JSON Schema.

Parámetros de entrada

  • evaluator_typestringObligatorio

    Evaluator `type` from workflow_evals_evaluators_list.

Parámetros de salida

Sin parámetros.

Workflow evals evaluators listROBOFLOW_MCP_WORKFLOW_EVALS_EVALUATORS_LISTAcción

List the evaluators available to Spec Checks in the installed engine. Returns ``{engineVersion, items}``; each item has ``type``, ``semanticType``, and its ``configSchema``. Use the ``type`` in a Spec Check.

Parámetros de entrada

  • familyany

    Filter by evaluator family.

  • semantic_typeany

    Filter by evaluator semantic type.

Parámetros de salida

Sin parámetros.

Workflow evals executions configurationROBOFLOW_MCP_WORKFLOW_EVALS_EXECUTIONS_CONFIGURATIONAcción

Get an Execution's frozen Subject manifest, BindingSet, and linked plan.

Parámetros de entrada

  • run_idstringObligatorio

    Run ID.

  • eval_idstringObligatorio

    Eval ID.

  • execution_idstringObligatorio

    Execution ID.

Parámetros de salida

Sin parámetros.

Workflow evals executions getROBOFLOW_MCP_WORKFLOW_EVALS_EXECUTIONS_GETAcción

Get one Execution's lifecycle, frozen Subject identity, and result availability.

Parámetros de entrada

  • run_idstringObligatorio

    Run ID.

  • eval_idstringObligatorio

    Eval ID.

  • execution_idstringObligatorio

    Execution ID.

Parámetros de salida

Sin parámetros.

Workflow evals executions input casesROBOFLOW_MCP_WORKFLOW_EVALS_EXECUTIONS_INPUT_CASESAcción

Page through an Execution's input Cases for a client-owned (local) runner. Only needed when the Run uses a local runtime. Each item has the ``case``, ``shardIndex``, and ``checkpoint`` (absent means not yet submitted); ``artifactReadUrls`` holds short-lived input image URLs. Run inference yourself, then submit each output with workflow_evals_executions_submit_capture.

Parámetros de entrada

  • limitany

    Page size, 1-200 (default 50).

  • cursorany

    Opaque `nextCursor` from the previous page.

  • run_idstringObligatorio

    Run ID.

  • eval_idstringObligatorio

    Eval ID.

  • execution_idstringObligatorio

    Execution ID.

Parámetros de salida

Sin parámetros.

Workflow evals executions listROBOFLOW_MCP_WORKFLOW_EVALS_EXECUTIONS_LISTAcción

List a Run's Executions (one per evaluated Workflow Subject).

Parámetros de entrada

  • run_idstringObligatorio

    Run ID.

  • eval_idstringObligatorio

    Eval ID.

Parámetros de salida

Sin parámetros.

Workflow evals executions submit captureROBOFLOW_MCP_WORKFLOW_EVALS_EXECUTIONS_SUBMIT_CAPTUREAcción

Submit one Case's Workflow output from a local runner. The platform scores it. Identical repeats are idempotent; different bytes for the same attempt return 409; a stale attempt returns 412.

Parámetros de entrada

  • errorany

    Inference error message, if it failed.

  • outputany

    Raw Workflow output for the Case (null when inference failed). Omit with resume=True.

  • resumeboolean

    Resume scoring a running checkpoint that already has a capture.

  • run_idstringObligatorio

    Run ID.

  • case_idstringObligatorio

    Case ID.

  • eval_idstringObligatorio

    Eval ID.

  • retryableany

    Whether the inference failure is retryable.

  • timed_outany

    Whether inference timed out.

  • latency_msany

    Measured inference latency.

  • shard_indexintegerObligatorio

    `shardIndex` of the Case from the input-cases page.

  • execution_idstringObligatorio

    Execution ID.

  • attempt_countintegerObligatorio

    `attemptCount` from the input-cases page.

Parámetros de salida

Sin parámetros.

Workflow evals exports download urlROBOFLOW_MCP_WORKFLOW_EVALS_EXPORTS_DOWNLOAD_URLAcción

Get a fresh short-lived download URL for a completed export.

Parámetros de entrada

  • run_idstringObligatorio

    Run ID.

  • eval_idstringObligatorio

    Eval ID.

  • artifact_idstringObligatorio

    Export `artifactId` from the completed job result.

Parámetros de salida

Sin parámetros.

Workflow evals exports get jobROBOFLOW_MCP_WORKFLOW_EVALS_EXPORTS_GET_JOBAcción

Poll an export. ``{asyncTaskId, state, progress, result?}``; ``result`` has the artifact and download URL.

Parámetros de entrada

  • run_idstringObligatorio

    Run ID.

  • eval_idstringObligatorio

    Eval ID.

  • async_task_idstringObligatorio

    `asyncTaskId` from workflow_evals_exports_start.

Parámetros de salida

Sin parámetros.

Workflow evals exports startROBOFLOW_MCP_WORKFLOW_EVALS_EXPORTS_STARTAcción

Start a server-side export of a Run's results. Returns 202 with ``asyncTaskId``; poll workflow_evals_exports_get_job until it completes, then use its download URL (renew with workflow_evals_exports_download_url). A Run with retryable failed Cases is refused with 409 ``retryFirst`` unless ``allow_pending_retries`` is true.

Parámetros de entrada

  • orderany

    Row order.

  • stateany

    Case result state filter.

  • formatstringObligatorioenum

    Export file format.

    csvjsonxlsx
  • run_idstringObligatorio

    A stable Run, or any terminal Run with allow_pending_retries.

  • slicesany

    Only these slices.

  • case_idany

    Only this Case.

  • eval_idstringObligatorio

    Eval ID.

  • check_idany

    Filter by Check.

  • judgmentany

    Filter by judgment.

  • slice_matchany

    How to combine slices.

  • failed_checkany

    Only Cases with a failed Check.

  • execution_idsany

    Limit to these Executions.

  • idempotency_keyany

    UUID v4 Idempotency-Key. For work that costs credits, generate one yourself so a retry after a lost response cannot start duplicate work. If omitted, one is generated and returned as idempotencyKey (also in error data). Reuse a key only to retry this exact request.

  • allow_pending_retriesany

    Export a failed or partially completed Run that still has retryable Cases. The export provenance then records pendingRetryableWork: true. Needs a server with roboflow/roboflow#17151; older servers ignore it and still answer 409.

Parámetros de salida

Sin parámetros.

Workflow evals getROBOFLOW_MCP_WORKFLOW_EVALS_GETAcción

Get one Eval by ID or by its readable URL (exactly one). Returns setup ``state`` and diagnostics (including ``missing_bindings`` for unmapped authoring Workflow check outputs), current Spec/Dataset projections, ``subjects``, ``subjectBindings``, ``serverConfiguration``, recent Runs, and the ``revision`` used for updates.

Parámetros de entrada

  • eval_idany

    Eval ID.

  • eval_urlany

    Exact current readable Eval URL slug.

Parámetros de salida

Sin parámetros.

Workflow evals listROBOFLOW_MCP_WORKFLOW_EVALS_LISTAcción

List Evals in the workspace, newest first. Returns ``{items, nextCursor?}``. Items include setup ``state`` (``draft``/``ready``), ``runCount``, and ``lastRunAt``.

Parámetros de entrada

  • limitany

    Page size, 1-200 (default 50).

  • cursorany

    Opaque `nextCursor` from the previous page.

  • searchany

    Optional name search (max 256 chars).

  • include_spec_summaryboolean

    Add `specSummary` (check count and first three Checks) to each item.

Parámetros de salida

Sin parámetros.

Workflow evals openapi getROBOFLOW_MCP_WORKFLOW_EVALS_OPENAPI_GETAcción

Get the machine-readable OpenAPI 3.1 contract for the Workflow Evals API. Large response. Prefer workflow_evals_capabilities and the per-tool descriptions; use this when you need exact request/response schemas.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

Workflow evals operation getROBOFLOW_MCP_WORKFLOW_EVALS_OPERATION_GETAcción

Poll a Workflow Evals deletion operation. Returns a sanitized receipt ``{operationId, kind, state, resource}``, readable even after the deleted resource is gone.

Parámetros de entrada

  • operation_idstringObligatorio

    Operation ID (the deletion `asyncTaskId`).

Parámetros de salida

Sin parámetros.

Workflow evals results case getROBOFLOW_MCP_WORKFLOW_EVALS_RESULTS_CASE_GETAcción

Get one Case's result: inputs, frozen ground truth, bound actual values, and Check results. The raw Workflow output is omitted by default (``rawOutputOmitted: true``); the values the Checks scored are in ``actualValues`` and ``caseResult.boundOutputs``.

Parámetros de entrada

  • run_idstringObligatorio

    Run ID.

  • case_idstringObligatorio

    Case ID.

  • eval_idstringObligatorio

    Eval ID.

  • execution_idstringObligatorio

    Execution ID.

  • include_raw_outputboolean

    Also return the raw Workflow output under caseResult.rawOutput. It can hold base64 images and reach megabytes; leave false unless a bound value is wrong and you need the full response.

Parámetros de salida

Sin parámetros.

Workflow evals results cases listROBOFLOW_MCP_WORKFLOW_EVALS_RESULTS_CASES_LISTAcción

List per-Case results for an Execution with compact ``checkResults`` by Check ID. Use ``failed_check=True`` to find failures, then workflow_evals_results_case_get for details.

Parámetros de entrada

  • limitany

    Page size, 1-200 (default 50).

  • orderany

    Sort order.

  • stateany

    Filter by Case result state.

  • cursorany

    Opaque `nextCursor` from the previous page.

  • run_idstringObligatorio

    Run ID.

  • slicesany

    Only Cases in these slices.

  • case_idany

    Only this Case.

  • eval_idstringObligatorio

    Eval ID.

  • check_idany

    Filter by Check.

  • judgmentany

    Filter by Check judgment, e.g. 'pass' or 'fail'.

  • slice_matchany

    How to combine slices.

  • execution_idstringObligatorio

    Execution ID.

  • failed_checkany

    Only Cases with at least one failed Check.

Parámetros de salida

Sin parámetros.

Workflow evals results compareROBOFLOW_MCP_WORKFLOW_EVALS_RESULTS_COMPAREAcción

Compare completed Executions: per-Check deltas and a page of Case-level deltas. Pure read; sibling Executions from one Run are always comparable.

Parámetros de entrada

  • limitany

    Page size for Case-level deltas.

  • cursorany

    Opaque `nextCursor` from the previous page.

  • eval_idstringObligatorio

    Eval ID.

  • filtersany

    Optional Case filters (same keys as the Case results list).

  • execution_idsstring[]Obligatorio

    Two or more completed, compatible Execution IDs.

Parámetros de salida

Sin parámetros.

Workflow evals results overviewROBOFLOW_MCP_WORKFLOW_EVALS_RESULTS_OVERVIEWAcción

Get an Execution's aggregate per-Check performance and runtime summary.

Parámetros de entrada

  • run_idstringObligatorio

    Run ID.

  • slicesany

    Restrict the summary to these slices.

  • eval_idstringObligatorio

    Eval ID.

  • slice_matchany

    How to combine slices.

  • execution_idstringObligatorio

    Execution ID.

Parámetros de salida

Sin parámetros.

Workflow evals runs cancelROBOFLOW_MCP_WORKFLOW_EVALS_RUNS_CANCELAcción

Request cancellation of a queued or running Run. Idempotent.

Parámetros de entrada

  • run_idstringObligatorio

    Run ID.

  • eval_idstringObligatorio

    Eval ID.

Parámetros de salida

Sin parámetros.

Workflow evals runs configurationROBOFLOW_MCP_WORKFLOW_EVALS_RUNS_CONFIGURATIONAcción

Get a Run's frozen shared configuration: Spec, Dataset snapshot, and Case selection.

Parámetros de entrada

  • run_idstringObligatorio

    Run ID.

  • eval_idstringObligatorio

    Eval ID.

Parámetros de salida

Sin parámetros.

Workflow evals runs deleteROBOFLOW_MCP_WORKFLOW_EVALS_RUNS_DELETEAcción

Delete a Run with its Executions and results. Two steps. Without ``deletion_key`` nothing is deleted; returns ``{confirmationRequired: true, deletionKey, impact}``. After the user confirms, call again with the key; returns ``{asyncTaskId, statusUrl}``. Poll with workflow_evals_operation_get.

Parámetros de entrada

  • run_idstringObligatorio

    Run ID.

  • eval_idstringObligatorio

    Eval ID.

  • deletion_keyany

    The `deletionKey` from the first call. Only pass it after the user confirmed the impact.

Parámetros de salida

Sin parámetros.

Workflow evals runs getROBOFLOW_MCP_WORKFLOW_EVALS_RUNS_GETAcción

Get a Run's lifecycle state, child Execution counts, and ``retry`` eligibility. Poll this while the Run is active; refresh results once it is terminal. With ``wait_seconds`` the tool polls for you and returns early when the state is one of ``completed``, ``partially_completed``, ``failed``, or ``cancelled``.

Parámetros de entrada

  • run_idstringObligatorio

    Run ID.

  • eval_idstringObligatorio

    Eval ID.

  • wait_secondsany

    Keep polling server-side for up to this many seconds (max 25, to stay under MCP client timeouts) and return as soon as the Run reaches a terminal state. Omit for a single read.

Parámetros de salida

Sin parámetros.

Workflow evals runs listROBOFLOW_MCP_WORKFLOW_EVALS_RUNS_LISTAcción

List an Eval's Runs, newest first. ``limit=1`` gives the latest Run.

Parámetros de entrada

  • limitany

    Page size, 1-200 (default 50).

  • cursorany

    Opaque `nextCursor` from the previous page.

  • eval_idstringObligatorio

    Eval ID.

  • include_check_countboolean

    Add each Run's frozen `checkCount` (null when unavailable).

Parámetros de salida

Sin parámetros.

Workflow evals runs replayROBOFLOW_MCP_WORKFLOW_EVALS_RUNS_REPLAYAcción

Create a new derived Run from a source Run, optionally with new Subjects. Returns 409 if the saved Spec or Dataset changed since the source Run. Server runtimes also need model:infer; saved Workflow Subjects also need workflow:read.

Parámetros de entrada

  • run_idstringObligatorio

    Source Run ID.

  • eval_idstringObligatorio

    Eval ID.

  • executionsany

    Replacement {subject, bindingSet} entries. Omit to reuse the source Run's.

  • case_selectionany

    {'kind':'all'} (default) or {'kind':'explicit','caseIds':[...]}.

  • idempotency_keyany

    UUID v4 Idempotency-Key. For work that costs credits, generate one yourself so a retry after a lost response cannot start duplicate work. If omitted, one is generated and returned as idempotencyKey (also in error data). Reuse a key only to retry this exact request.

  • inference_serverany

    Override the Eval's saved runtime: {'kind':'serverless'}, {'kind':'dedicated','url':'https://*.roboflow.cloud'}, or {'kind':'local','url':...}.

Parámetros de salida

Sin parámetros.

Workflow evals runs rescoreROBOFLOW_MCP_WORKFLOW_EVALS_RUNS_RESCOREAcción

Score retained Workflow outputs against a revised Spec without re-running Workflows. Creates a new derived Run. Incompatible Executions return rerun-required diagnostics.

Parámetros de entrada

  • run_idstringObligatorio

    Source Run ID.

  • eval_idstringObligatorio

    Eval ID.

  • spec_idstringObligatorio

    The Eval's current saved Spec (save it and attach it first).

  • executionsany

    Selected prior Executions with a replacement BindingSet each.

  • idempotency_keyany

    UUID v4 Idempotency-Key. For work that costs credits, generate one yourself so a retry after a lost response cannot start duplicate work. If omitted, one is generated and returned as idempotencyKey (also in error data). Reuse a key only to retry this exact request.

Parámetros de salida

Sin parámetros.

Workflow evals runs retry failedROBOFLOW_MCP_WORKFLOW_EVALS_RUNS_RETRY_FAILEDAcción

Retry only missing or operationally failed Cases in the same Run. Check ``retry.allowed`` from workflow_evals_runs_get first. Keeps the frozen setup; to change the Workflow, use workflow_evals_runs_replay. Server-runtime retries also need workflow:read and model:infer.

Parámetros de entrada

  • run_idstringObligatorio

    Run ID.

  • eval_idstringObligatorio

    Eval ID.

  • idempotency_keyany

    UUID v4 Idempotency-Key. For work that costs credits, generate one yourself so a retry after a lost response cannot start duplicate work. If omitted, one is generated and returned as idempotencyKey (also in error data). Reuse a key only to retry this exact request.

Parámetros de salida

Sin parámetros.

Workflow evals runs startROBOFLOW_MCP_WORKFLOW_EVALS_RUNS_STARTAcción

Start one grouped Run that evaluates every Subject on the Eval's Spec and Dataset. Each execution needs its own valid Subject and BindingSet, even when the Eval's authoring Workflow is ``draft`` due to ``missing_bindings``. Costs inference for server runtimes. Returns 202 with ``run``, ``executions``, and ``asyncTaskId`` (null for local runtimes, which use workflow_evals_executions_input_cases / submit_capture). Poll workflow_evals_runs_get until the state is terminal. A one-Case selection is a cheap dry run. Server runtimes also need model:infer; saved Workflow Subjects also need workflow:read. If a saved Workflow follows a Project's current model and that model changed, set ``execution_reuse='never'`` so this Run does not reuse outputs from the previous model.

Parámetros de entrada

  • eval_idstringObligatorio

    Eval with a compatible Spec and Dataset.

  • executionsobject[]Obligatorio

    One entry per Workflow to evaluate: {'subject': <Subject>, 'bindingSet': <validated BindingSet>}.

  • case_selectionany

    {'kind':'all'} (default) or {'kind':'explicit','caseIds':[...]}.

  • execution_reuseany

    Reuse matching retained Workflow outputs (default prefer) or always re-run.

  • idempotency_keyany

    UUID v4 Idempotency-Key. For work that costs credits, generate one yourself so a retry after a lost response cannot start duplicate work. If omitted, one is generated and returned as idempotencyKey (also in error data). Reuse a key only to retry this exact request.

  • inference_serverany

    Override the Eval's saved runtime: {'kind':'serverless'}, {'kind':'dedicated','url':'https://*.roboflow.cloud'}, or {'kind':'local','url':...}.

Parámetros de salida

Sin parámetros.

Workflow evals schema getROBOFLOW_MCP_WORKFLOW_EVALS_SCHEMA_GETAcción

Get a JSON Schema for authoring Workflow Evals payloads. Read the ``spec`` schema before writing a Spec, ``eval-dataset`` before creating a Dataset, ``case`` before adding Cases, and ``binding-set`` before hand-writing bindings. The engine still performs semantic validation.

Parámetros de entrada

  • schema_namestringObligatorioenum

    Which authoring JSON Schema to fetch.

    speceval-datasetcasebinding-setsubjectevaluator-config

Parámetros de salida

Sin parámetros.

Workflow evals specs compatible datasetsROBOFLOW_MCP_WORKFLOW_EVALS_SPECS_COMPATIBLE_DATASETSAcción

List Eval Datasets whose inputs and ground truth satisfy a Spec.

Parámetros de entrada

  • limitany

    Page size, 1-200 (default 50).

  • cursorany

    Opaque `nextCursor` from the previous page.

  • spec_idstringObligatorio

    Spec ID.

Parámetros de salida

Sin parámetros.

Workflow evals specs createROBOFLOW_MCP_WORKFLOW_EVALS_SPECS_CREATEAcción

Validate, compile, and save a Spec. Invalid Specs return 422 with engine diagnostics. Draft the Spec yourself following the engine skills (start at roboflow://workflow-evals/manifest) and iterate with workflow_evals_specs_validate before saving. Confirm the Spec with the user first.

Parámetros de entrada

  • nameany

    Spec name.

  • specobjectObligatorio

    Engine Spec (schema: roboflow://workflow-evals/schemas/spec): schemaVersion, specId, id, inputs, outputs, checks. Subject-independent: no Workflow paths here.

  • descriptionany

    Optional description.

  • idempotency_keyany

    UUID v4 Idempotency-Key. For work that costs credits, generate one yourself so a retry after a lost response cannot start duplicate work. If omitted, one is generated and returned as idempotencyKey (also in error data). Reuse a key only to retry this exact request.

Parámetros de salida

Sin parámetros.

Workflow evals specs getROBOFLOW_MCP_WORKFLOW_EVALS_SPECS_GETAcción

Get the current live Spec and its ``revision``.

Parámetros de entrada

  • spec_idstringObligatorio

    Spec ID.

Parámetros de salida

Sin parámetros.

Workflow evals specs listROBOFLOW_MCP_WORKFLOW_EVALS_SPECS_LISTAcción

List live Specs in the workspace. Returns ``{items, nextCursor?}``.

Parámetros de entrada

  • limitany

    Page size, 1-200 (default 50).

  • cursorany

    Opaque `nextCursor` from the previous page.

Parámetros de salida

Sin parámetros.

Workflow evals specs updateROBOFLOW_MCP_WORKFLOW_EVALS_SPECS_UPDATEAcción

Replace a live Spec's policy and/or metadata. The full result is recompiled. Existing Runs keep the Spec they froze.

Parámetros de entrada

  • nameany

    New name.

  • specany

    Complete replacement engine Spec.

  • spec_idstringObligatorio

    Spec ID.

  • revisionintegerObligatorio

    Current numeric `revision` of the resource (from its last read). Stale revisions return 412.

  • descriptionany

    New description.

Parámetros de salida

Sin parámetros.

Workflow evals specs validateROBOFLOW_MCP_WORKFLOW_EVALS_SPECS_VALIDATEAcción

Validate an unsaved Spec: compile diagnostics plus derived ground-truth requirements. Saves nothing.

Parámetros de entrada

  • specobjectObligatorio

    Unsaved engine Spec to validate.

Parámetros de salida

Sin parámetros.

Workflow evals testROBOFLOW_MCP_WORKFLOW_EVALS_TESTAcción

Score a Spec on a few examples whose outputs you already have, the way an Eval Run would. Use it as a quick check of a draft Spec or BindingSet before saving it or starting a Run, and to find why a check fails. Get each output by running the Workflow on the image (workflows_run) or the model (models_infer) first; that run uses credits like any other, so one image is usually enough. Scoring a whole set is an Eval Run's job. The ground truth must come from the user or approved Cases, never from the model's own output. Scoring runs nothing and saves nothing. Returns per example and check an outcome: passed, failed, scored (no pass rule), skipped (check not applicable), or unevaluable. Unevaluable is not a low score: its diagnostic names the binding path to fix, what the output holds there (availableFields) and often a suggestedPath. A detection output must be bound to its list of objects (`.predictions`), not the {image, predictions} result around it. Per check it also returns outcome counts and the engine aggregate over the scored examples. Fix bindings with workflow_evals_bindings_suggest / workflow_evals_bindings_validate.

Parámetros de entrada

  • specobjectObligatorio

    Engine Spec to test: an unsaved draft, or a saved Spec's policy as workflow_evals_specs_get returns it.

  • casesobject[]Obligatorio

    1-25 examples, each {groundTruth, output, id?, name?, latencyMs?, slices?}. groundTruth: the expected answer at the paths the Spec's checks read (for example {'objects': [{class, x, y, width, height}]}); an empty list is a deliberate negative example, a missing field skips the example. output: what the Workflow or model returned for that image, unchanged: the workflows_run response ({'outputs': [...]}), its outputs list, or a model inference result. latencyMs: only when it was measured; latency checks read nothing else.

  • binding_setany

    BindingSet mapping the Spec's outputs onto each output: {'outputs': {<spec output id>: {'value': {'kind': 'path', 'path': '$[0].<output>'}}}}. A saved Eval's BindingSet works unchanged; input bindings are ignored. Required when the Spec declares outputs.

Parámetros de salida

Sin parámetros.

Workflow evals updateROBOFLOW_MCP_WORKFLOW_EVALS_UPDATEAcción

Update an Eval under optimistic concurrency. Omitted fields are preserved; ``clear_fields`` sets fields to null. The response re-derives ``draft``/``ready``. An authoring Workflow with unmapped outcome check outputs stays ``draft`` with ``missing_bindings`` diagnostics; supply its output mappings in ``subject_bindings``. After validating one saved Workflow's BindingSet, send ``subjects`` with its Workflow document ID as both ``workflowId`` and ``subjectKey``, ``subject_bindings`` keyed by that ID, and ``server_configuration`` matching the Run server before starting a Run. Existing Runs never change.

Parámetros de entrada

  • nameany

    New name.

  • eval_idstringObligatorio

    Eval ID.

  • spec_idany

    Attach or replace the current Spec.

  • subjectany

    Replace the single authoring Subject (resets `subjects`). Cannot be combined with subjects.

  • revisionintegerObligatorio

    Current numeric `revision` of the resource (from its last read). Stale revisions return 412.

  • subjectsany

    Ordered 1-20 reviewed Subjects: {'artifactId':...} for existing ones or new Subject objects. For one saved Workflow use {'kind':'savedWorkflow','workflowId':<Workflow document ID>,'subjectKey':<same ID>}. Requires a saved Spec and Dataset.

  • descriptionany

    New description.

  • clear_fieldsany

    Fields to clear (sent as null).

  • eval_dataset_idany

    Attach or replace the current Eval Dataset.

  • subject_bindingsany

    {<Subject ID>: <validated BindingSet>} map, not a bare BindingSet. Key by Workflow document ID (not URL slug), workflowVersionId for a saved version, or subjectKey for an inline Subject.

  • server_configurationany

    Save the server your Runs use so the Eval page runs the attached Workflow there.

Parámetros de salida

Sin parámetros.

Workflow manual approval gate getROBOFLOW_MCP_WORKFLOW_MANUAL_APPROVAL_GATE_GETAcción

Read approval rules and their configured members or roles.

Parámetros de entrada

  • workflow_idstringObligatorio

    Workflow document ID.

Parámetros de salida

Sin parámetros.

Workflow manual approval gate removeROBOFLOW_MCP_WORKFLOW_MANUAL_APPROVAL_GATE_REMOVEAcción

Remove approval rules. Requires a person with Manage Workflow Deploy Gates.

Parámetros de entrada

  • workflow_idstringObligatorio

    Workflow document ID.

Parámetros de salida

Sin parámetros.

Workflow manual approval gate setROBOFLOW_MCP_WORKFLOW_MANUAL_APPROVAL_GATE_SETAcción

Set who may approve versions. Requires a person acting with Manage Workflow Deploy Gates. Raw API keys cannot change approval rules. Every named member or role must have Manage Workflows permission. One eligible approval passes the gate; one rejection rejects it. A change invalidates decisions under old rules.

Parámetros de entrada

  • rulesobject[]Obligatorio

    One to ten rules: {kind: user, userId} or {kind: role, role}.

  • workflow_idstringObligatorio

    Workflow document ID.

  • expected_revisionany

    Revision last read, for conflict detection.

  • allow_self_approvalboolean

    Allow the version author to approve their own version.

Parámetros de salida

Sin parámetros.

Workflows createROBOFLOW_MCP_WORKFLOWS_CREATEAcción

Create and save a new Workflow in the workspace. Use agent_chat for natural-language creation requests, including simple detection goals. It builds and validates through the Roboflow in-app agent. This low-level tool saves an explicit definition supplied by the user or an existing integration; it does not build or validate it. Validate that config with workflow_specs_validate before saving. Do not use this as a fallback after an agent build or validation failure. Validation supports OAuth and API-key connections with required permissions. Once saved, execute the published workflow by URL slug with workflows_run. Saving does not test inference. Returns the created workflow including its document ID. Save this ID: it is required for workflows_update.

Parámetros de entrada

  • namestringObligatorio

    Human-readable workflow name

  • configobjectObligatorio

    Workflow JSON definition with 'version', 'inputs', 'steps', and 'outputs'

  • business_contextany

    Brief description of the business problem this workflow addresses, if the user has shared one.

Parámetros de salida

Sin parámetros.

Workflows deleteROBOFLOW_MCP_WORKFLOWS_DELETEAcción

Delete a saved Workflow, moving it to the workspace Trash. This is a soft delete: the workflow stays in the Trash for 30 days and can be restored with ``trash_restore_workflow`` using the workflow's document id from the delete response or ``trash_list``. After 30 days it is permanently removed.

Parámetros de entrada

  • workflow_urlstringObligatorio

    Workflow URL slug (the `url` field from workflows_list).

Parámetros de salida

Sin parámetros.

Workflows getROBOFLOW_MCP_WORKFLOWS_GETAcción

Get a saved workflow. Use draft=true before editing its current draft. An enrolled workflow returns workflow.branchSave with its editable config. Pass that exact receipt to workflows_update or workflow_versions_save. If the branch changes concurrently, reload and reconcile your edit; never obtain a newer receipt solely to make a stale edit overwrite it.

Parámetros de entrada

  • draftboolean

    Read the editable draft and its branchSave receipt instead of the published version.

  • workflow_idstringObligatorio

    Workflow URL slug or ID

Parámetros de salida

Sin parámetros.

Workflows listROBOFLOW_MCP_WORKFLOWS_LISTAcción

List saved workflows in the current workspace. Returns up to ``limit`` workflows plus ``total``, the full workspace workflow count. Page with ``offset`` when ``total`` exceeds ``limit``.

Parámetros de entrada

  • limitinteger

    Maximum number of workflows to return

  • offsetinteger

    Number of workflows to skip, for paging

Parámetros de salida

Sin parámetros.

Workflow specs runROBOFLOW_MCP_WORKFLOW_SPECS_RUNAcción

Execute a Workflow from an inline JSON definition. Unlike ``workflows_run`` which runs a saved workflow by ID, this tool accepts a full workflow JSON spec and executes it directly. Useful for testing workflows before saving them, or for running a draft without publishing it. Validate the definition with ``workflow_specs_validate`` before running it; invalid specifications fail at execution time with less actionable serverless errors. IMPORTANT: Images must be public URLs or base64-encoded data. Local file paths do NOT work — the API runs remotely and cannot access your filesystem. Workflow blocks may send data to external services or change existing records. Execution therefore requires the same care as those configured actions. Returns workflow outputs as defined by the workflow's output blocks.

Parámetros de entrada

  • imagesobjectObligatorio

    Map of input names to image values (HTTPS URLs or base64). Example: {'image': 'https://...'}

  • parametersany

    Optional runtime parameters defined in the workflow

  • specificationobjectObligatorio

    Full Workflow JSON definition with 'version', 'inputs', 'steps', and 'outputs'

Parámetros de salida

Sin parámetros.

Workflow specs validateROBOFLOW_MCP_WORKFLOW_SPECS_VALIDATEAcción

Validate a Workflow JSON definition without executing it. Check whether a workflow definition is syntactically and semantically correct before saving or running it. Example workflow definition — detects objects, enlarges bounding boxes, crops, runs a second detection filtering for dogs, and classifies the breed only when exactly one dog is found: .. code-block:: json { "version": "1.0", "inputs": [ {"type": "WorkflowImage", "name": "image"} ], "steps": [ { "type": "ObjectDetectionModel", "name": "first_detection", "image": "$inputs.image", "model_id": "yolov8n-640" }, { "type": "DetectionsTransformation", "name": "enlarging_boxes", "predictions": "$steps.first_detection.predictions", "operations": [ {"type": "DetectionsOffset", "offset_x": 50, "offset_y": 50} ] }, { "type": "Crop", "name": "first_crop", "image": "$inputs.image", "predictions": "$steps.enlarging_boxes.predictions" }, { "type": "ObjectDetectionModel", "name": "second_detection", "image": "$steps.first_crop.crops", "model_id": "yolov8n-640", "class_filter": ["dog"] }, { "type": "ContinueIf", "name": "continue_if", "condition_statement": { "type": "StatementGroup", "statements": [ { "type": "BinaryStatement", "left_operand": { "type": "DynamicOperand", "operand_name": "prediction", "operations": [{"type": "SequenceLength"}] }, "comparator": {"type": "(Number) =="}, "right_operand": { "type": "StaticOperand", "value": 1 } } ] }, "evaluation_parameters": { "prediction": "$steps.second_detection.predictions" }, "next_steps": ["$steps.classification"] }, { "type": "ClassificationModel", "name": "classification", "image": "$steps.first_crop.crops", "model_id": "dog-breed-xpaq6/1" } ], "outputs": [ { "type": "JsonField", "name": "dog_classification", "selector": "$steps.classification.predictions" } ] } Key patterns shown above: - ``$inputs.<name>`` references a workflow input. - ``$steps.<step_name>.<output>`` references another step's output. - ``ContinueIf`` enables conditional branching based on runtime values. - Steps can chain: detect → transform → crop → detect → classify. Returns validation status. A valid workflow returns ``{"status": "ok"}``. An invalid one returns error details.

Parámetros de entrada

  • specificationobjectObligatorio

    Full Workflow JSON definition with 'version', 'inputs', 'steps', and 'outputs'

Parámetros de salida

Sin parámetros.

Workflows previewROBOFLOW_MCP_WORKFLOWS_PREVIEWAcción

Show a saved Workflow's results on one workspace image or video, in an interactive player. Use this when the user wants to see a Workflow's output images, values and JSON on their own media. Each call runs the Workflow and spends credits; a video runs as a job on a clip of 60 s at most. Sink blocks (webhooks, uploads, notifications) run unless disable_sinks is true. Only Workflows with exactly one image input can be previewed; the platform refuses others before running, and the refusal is returned. For usage guidance, read skill://roboflow-apps/workflow-preview/SKILL.md.

Parámetros de entrada

  • video_idany

    Asset Library video id. Give this or source_id.

  • source_idany

    Asset Library image id. Give this or video_id.

  • parametersany

    Values for the Workflow's own non-image inputs, by input name.

  • workflow_idstringObligatorio

    Saved Workflow URL slug or ID

  • disable_sinksboolean

    Skip the Workflow's sink blocks (webhooks, uploads, notifications). They run by default, as in the app's Workflow preview.

  • trim_start_msany

    Video only: where the clip starts, in milliseconds.

  • trim_duration_msany

    Video only: clip length in milliseconds, 60000 at most (the default and the cap).

Parámetros de salida

Sin parámetros.

Workflows runROBOFLOW_MCP_WORKFLOWS_RUNAcción

Execute a saved Workflow on one or more images. Runs a previously created Workflow against the provided images on the Roboflow serverless infrastructure. This always hits the latest **published** version of the workflow, never an unpublished draft. Images are processed synchronously; calls with many images take proportionally longer. Workflow blocks may send data to external services or change existing records. Execution therefore requires the same care as those configured actions. Returns workflow outputs as defined by the workflow's output blocks.

Parámetros de entrada

  • imagesobjectObligatorio

    Map of input names to image values (HTTPS URLs or base64). Example: {'image': 'https://...'}

  • parametersany

    Optional runtime parameters (e.g. confidence thresholds, class filters)

  • workflow_idstringObligatorio

    Workflow ID to execute

Parámetros de salida

  • resultobject[]Obligatorio
Workflows updateROBOFLOW_MCP_WORKFLOWS_UPDATEAcción

Update an existing saved Workflow's name and definition, preserving its URL. Use agent_chat for natural-language edits so the Roboflow in-app agent builds and validates the change. This low-level tool is for an explicit definition supplied by the user or an existing integration. Validate the config with workflow_specs_validate before updating. Validation and execution support OAuth and API-key connections with the required permissions. Block types and their schemas are in the roboflow://workflows/blocks resources. Use workflows_get with draft=true to retrieve the editable workflow and its branchSave receipt, then modify the returned config. Pass the same receipt as branch_save. Branch saves stay as drafts and do not publish. Keep the existing name when saving a branch; metadata changes are separate. If the branch head has changed, reload and reconcile before retrying. A Workflow with deploy gates rejects direct publishing. On that rejection, save the definition with workflow_versions_save. Run workflow_version_deploy_gates_run only for Eval gates. For manual approval, read workflow_version_approval_get and have an eligible person decide in the Roboflow app. Poll workflow_version_deploy_gates_get and call workflow_version_deploy only when publishable is true. Publishing a new version can stage Workflow pins on production devices for approval. Do not assume a successful publish changed their live config; check each device's ``devices_get_config.configProposal``. MCP cannot approve a proposal.

Parámetros de entrada

  • namestringObligatorio

    Updated workflow name

  • configobjectObligatorio

    Updated workflow JSON definition

  • branch_saveany

    The exact workflow.branchSave receipt returned by workflows_get with draft=true.

  • workflow_idstringObligatorio

    Workflow document ID — NOT the URL slug. Get it from workflows_list or workflows_create response.

Parámetros de salida

Sin parámetros.

Workflow version approval getROBOFLOW_MCP_WORKFLOW_VERSION_APPROVAL_GETAcción

Read a version's approval status, decision, and eligible approvers.

Parámetros de entrada

  • version_idstringObligatorio

    Saved version ID.

  • workflow_idstringObligatorio

    Workflow document ID.

Parámetros de salida

Sin parámetros.

Workflow version approvals listROBOFLOW_MCP_WORKFLOW_VERSION_APPROVALS_LISTAcción

Read approval decisions and review requests for all versions, newest first.

Parámetros de entrada

  • workflow_idstringObligatorio

    Workflow document ID.

Parámetros de salida

Sin parámetros.

Workflow version deployROBOFLOW_MCP_WORKFLOW_VERSION_DEPLOYAcción

Publish a saved version. Requires Publish Workflows permission and version history. A gated version is refused until every gate passes. Manual approval decisions are made by eligible people in the Roboflow app; this tool cannot approve. Publishing may stage Workflow pins on production devices for approval. A successful publish does not mean those devices changed live configuration. Check each affected device's devices_get_config.configProposal. MCP cannot approve a device config proposal.

Parámetros de entrada

  • version_idstringObligatorio

    Saved version ID with publishable=true.

  • workflow_idstringObligatorio

    Workflow document ID.

Parámetros de salida

Sin parámetros.

Workflow version deploy gates getROBOFLOW_MCP_WORKFLOW_VERSION_DEPLOY_GATES_GETAcción

Read all gate verdicts and publishable for a saved version. Poll after starting checks.

Parámetros de entrada

  • version_idstringObligatorio

    Saved version ID.

  • workflow_idstringObligatorio

    Workflow document ID.

Parámetros de salida

Sin parámetros.

Workflow version deploy gates runROBOFLOW_MCP_WORKFLOW_VERSION_DEPLOY_GATES_RUNAcción

Start all checks for this version. Requires Run Workflow Evals permission. An Eval check can run metered inference. The response is pending, not a passed verdict. Poll workflow_version_deploy_gates_get until publishable is true or a gate fails. A replay with the same key returns the check it started. A version with only a manual approval gate does not need this call.

Parámetros de entrada

  • version_idstringObligatorio

    Saved version ID.

  • workflow_idstringObligatorio

    Workflow document ID.

  • idempotency_keyany

    UUID v4 key. Reuse this key when retrying a lost response.

Parámetros de salida

Sin parámetros.

Workflow versions saveROBOFLOW_MCP_WORKFLOW_VERSIONS_SAVEAcción

Save a draft version without publishing, even in Auto-publish mode. For a non-branched Workflow, the returned version.id identifies the candidate for checks and deployment. A missing Idempotency-Key is generated and returned as idempotencyKey. For a branched workflow, read the editable draft with workflows_get and pass its branchSave receipt as branch_save. The receipt's saveId is used as the idempotency key. Saves do not publish. Merge a named branch into Main before publishing; a receipt with branchId='main' already saves Main. If the branch head changed, reload and reconcile your edit rather than replacing the receipt on a stale edit.

Parámetros de entrada

  • configanyObligatorio

    Complete Workflow JSON definition, as an object or JSON string.

  • branch_saveany

    The exact workflow.branchSave receipt returned by workflows_get with draft=true.

  • workflow_idstringObligatorio

    Workflow document ID.

  • version_nameany

    Optional version name.

  • idempotency_keyany

    UUID v4 key. Reuse the same key only to retry this save.

Parámetros de salida

Sin parámetros.

Workspace announcements createROBOFLOW_MCP_WORKSPACE_ANNOUNCEMENTS_CREATEAcción

Schedule a banner announcement that every member of the workspace sees. Confirm the text and window with the user before calling: the banner reaches everyone in the workspace as soon as its window opens. Times are ISO-8601 with an explicit offset, e.g. ``2026-09-03T09:00:00-04:00``. A window lasts 5 minutes to 365 days and may not overlap another announcement; an overlap fails with 409 and names the conflicting announcement and its window, so pick a free window or update the other announcement. Returns ``{ announcement, start_at_clamped, dismissals_reset }``. When ``start_at_clamped`` is true the start was in the past and was moved to now; tell the user.

Parámetros de entrada

  • ends_atstringObligatorio

    When the banner stops showing (ISO-8601 with offset).

  • messagestringObligatorio

    Banner text, 1 to 400 characters after trimming. Plain text; newlines are kept, 3 or more in a row collapse to one blank line.

  • timezonestringObligatorio

    IANA timezone the schedule is shown in, e.g. America/New_York. It only affects how times are displayed, not when the banner shows.

  • starts_atany

    When the banner starts showing (ISO-8601 with offset). Omit to start now; a start in the past is moved to now.

Parámetros de salida

Sin parámetros.

Workspace announcements deleteROBOFLOW_MCP_WORKSPACE_ANNOUNCEMENTS_DELETEAcción

Delete an announcement. A live banner disappears for everyone right away. The announcement drops out of workspace_announcements_list and cannot be restored through MCP. An unknown or already deleted id answers 404.

Parámetros de entrada

  • announcement_idstringObligatorio

    Announcement id from workspace_announcements_list.

Parámetros de salida

Sin parámetros.

Workspace announcements listROBOFLOW_MCP_WORKSPACE_ANNOUNCEMENTS_LISTAcción

List the workspace's scheduled, live and past announcements, newest start first. Returns ``{ announcements: [{id, message, starts_at, ends_at, timezone, status, lifecycle, revision, created_at, created_via, updated_at, updated_via}], next_cursor }``. ``status`` is ``active`` (showing now), ``upcoming`` or ``previous``. ``next_cursor`` is null on the last page. Deleted announcements are not listed. Requires permission to manage workspace announcements and a plan that includes them; otherwise the platform answers 403.

Parámetros de entrada

  • limitinteger

    Maximum announcements to return, from 1 to 100

  • cursorany

    next_cursor from the previous page

Parámetros de salida

Sin parámetros.

Workspace announcements updateROBOFLOW_MCP_WORKSPACE_ANNOUNCEMENTS_UPDATEAcción

Change an announcement's text, window or display timezone. Only the fields you pass change; pass at least one. The previous text is replaced and cannot be recovered. The same window rules as workspace_announcements_create apply, including the 409 on overlap. Returns ``{ announcement, start_at_clamped, dismissals_reset }``. Changing the message or start shows the banner again to everyone who dismissed it (``dismissals_reset`` true); changing only the end or timezone does not. Tell the user when either flag is true.

Parámetros de entrada

  • ends_atany

    When the banner stops showing (ISO-8601 with offset).

  • messageany

    Banner text, 1 to 400 characters after trimming. Plain text; newlines are kept, 3 or more in a row collapse to one blank line.

  • timezoneany

    IANA timezone the schedule is shown in, e.g. America/New_York. It only affects how times are displayed, not when the banner shows.

  • starts_atany

    New start time (ISO-8601 with offset); a start in the past is moved to now

  • announcement_idstringObligatorio

    Announcement id from workspace_announcements_list.

Parámetros de salida

Sin parámetros.