Jump to
Tool schemas
Use bluebox as a callable tool inside your own LLM pipelines. Pass the schema below to OpenAI or Anthropic and the model will invoke bluebox automatically whenever it needs to perform a web automation task.
Overview
Bluebox exposes a single tool — bluebox_run — that accepts a natural language task and returns an automation result envelope. Multi-turn workflows are supported: the tool result includes a thread_id you can pass back on the next call to continue the same session.
Set your VECTORLY_SERVICE_TOKEN as an environment variable before running any example below.
Calling the bluebox API
All examples share the same underlying SSE call. The function below streams the /api/v1/bluebox/chat/stream endpoint, collects the final response, and returns a stable result envelope (including status, thread_id, and optional artifacts).
OpenAI
Tool schema
Integration example
Anthropic
Tool schema
Integration example
Tool result shape
Both providers receive the same JSON object as the tool result:
Pass thread_id in the next tool call to continue the same session.