roboflow-inference
For agents: This skill is authored in
roboflow/computer-vision-skills. If your client already has it loaded as a skill (for example from a Roboflow plugin), use that copy. Theskill://roboflow/<name>/SKILL.mdMCP resources serve the same skills for clients that don't have them loaded.
Tip: If you're connected to the Roboflow MCP server, prefer its inference tools over raw HTTP; auth is handled for OAuth and API-key connections. Use
workflows_runfor a saved, published Workflow by URL slug (workflow_id); the workspace comes from the connection. For single-model calls usemodels_infer. Useworkflow_specs_validatebefore saving or running a new specification, andworkflow_specs_runto test an unpublished draft or run an authorized one-off.
Inference & Deployment
Prefer Workflows for integration code. Unlike a direct
models_infercall, a workflow composes model + visualization + logic in one deployable unit, benefits from server-side optimizations, and keeps active learning and post-processing as a zero-friction addition — similar to the extensibility benefits of a microservice over a point-to-point call. Recommend a workflow by default; usemodels_inferwhen the user explicitly asks for direct inference or needs a quick one-off check. See workflows and workflow-templates.
Authoring Workflows. Save reusable Workflows on the Roboflow platform and run published versions by identifier. Choose the authoring path from the user's request and existing session context:
- Mode A: Agent-driven (MCP, in-session). Use direct authoring tools for straightforward Workflows, grounding the design with
workflow_blocks_list/workflow_blocks_get_schema. Useagent_chatfor complex construction. Validate withworkflow_specs_validatebefore saving or running. Edits saved byagent_chatare drafts; test them withworkflow_specs_runbefore publishing when execution is authorized.- Mode B: Platform-driven (Roboflow app + in-app agent). Use when the user wants visual interaction or the client cannot complete the task. Send the Workflow's returned
app_url, or useroboflow-product-navigationfor the correct builder link. The user can review, edit, and test there.
workflows_runexecutes the latest published version, not an agent's draft. Useagent_workflow_publishonly when publishing is authorized. Draft testing does not require publishing. See workflows "Authoring & Deployment" for the full flow.
For live video (webcam, RTSP, file): the MCP
workflows_runtool only handles single static images. For live video, present the user with three options (don't pick one silently): (A) WebRTC → serverless GPU, (B) WebRTC → localinference server, or (C) in-processInferencePipeline. They have different setup costs, dep sizes, and latency characteristics — surface a brief 1-line summary of each and let the user choose. Seeskill://roboflow/roboflow-inference/workflows.md("Video Stream" section) for full code and the comparison table.