Developer Tools

Roboflow MCP

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

Tools

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

  • Trash restore version

    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.

  • Trash restore workflow

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

  • Trt fleet model settings get

    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.

  • Trt fleet quote

    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.

  • Trt fleet request

    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.

  • Trt fleet settings get

    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.

  • Trt fleet status

    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.

  • Universe dataset images search

    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.

  • Universe search

    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'

  • Versions delete

    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.

  • Versions export

    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.

  • Versions generate

    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.

  • Versions get

    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.

  • Video pull capabilities

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

  • Video pull create

    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.

  • Video pull get

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

  • Video pull update

    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.

  • Video segments annotate

    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.

  • Video upload

    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.

  • Video upload status

    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.

PreviousPage 12 / 18Next