Onfleet
Manage Onfleet tasks, workers, dispatch, and delivery operations workflows.
Tools
| Name | Description |
|---|---|
create_taskCreate a new delivery task in Onfleet | Create a new delivery task in Onfleet |
get_taskGet a task by ID | Get a task by ID |
create_workerCreate a new worker (driver) in Onfleet | Create a new worker (driver) in Onfleet |
get_workerGet a worker by ID | Get a worker by ID |
get_teamsList all teams in Onfleet | List all teams in Onfleet |
custom_api_callMake a custom API call to the Onfleet API | Make a custom API call to the Onfleet API |
Triggers
| Name | Description |
|---|---|
task_createdTriggers when a new task is created in Onfleet | Triggers when a new task is created in Onfleet |
task_completedTriggers when a task is completed in Onfleet | Triggers when a task is completed in Onfleet |
task_failedTriggers when a task fails in Onfleet | Triggers when a task fails in Onfleet |
Quick Start
import { WeavzClient } from '@weavz-io/sdk'
const weavz = new WeavzClient({ apiKey: 'wvz_...' })
const result = await weavz.actions.execute('onfleet', 'create_task', {
workspaceId: '550e8400-e29b-41d4-a716-446655440000',
integrationAlias: 'onfleet',
input: { /* ... */ },
})Related Integrations
Works well with
Frequently Asked Questions
How do I connect Onfleet to my app?
Use Weavz Hosted Connect for Basic Auth authentication. Install the SDK, create a connection through the connect portal or API, then execute tools programmatically.
What tools does Onfleet support?
Onfleet supports 6 tools including Create Task, Get Task, Create Worker, Get Worker, Get Teams, and more.
Can I use Onfleet with AI agents?
Yes. Add Onfleet to an MCP server in Tool Mode or Code Mode. Code Mode provides 3 meta-tools with on-demand API discovery so agents can compose stateful workflows without loading every action schema up front.
How do I connect Onfleet to ChatGPT or Claude?
Open the Weavz connector setup, sign in, choose a workspace, and add Onfleet as an approved app. ChatGPT, Claude, and other remote MCP clients can then call the scoped Onfleet tools exposed by that workspace.
Does Onfleet work with Claude Code, Cursor, Codex, and local agents?
Yes. Remote and local MCP clients can connect to a Weavz MCP endpoint for the workspace. Local coding agents can also use the Weavz CLI to inspect apps, discover actions, run approved Onfleet work, and execute Code Mode workflows from a terminal.
What can I ask an AI agent to do with Onfleet?
Onfleet exposes 6 tools, including Create Task, Get Task, Create Worker, Get Worker, Get Teams, and more. Use Weavz to keep credentials scoped, require approval for sensitive work, and audit what the agent did.
Can Onfleet be used in stateful agent workflows?
Yes. Agents can combine Onfleet tools with Filesystem, State KV, Human Gates, input partials, and other workspace integrations while keeping execution scoped to the selected workspace or end user.
What authentication does Onfleet use?
Onfleet uses Basic Auth. Weavz stores credentials securely and uses them for authorized action execution.
How much does the Onfleet integration cost?
The Onfleet integration is included on all Weavz plans including the free tier with 20,000 actions per month. No credit card required.
What triggers does Onfleet support?
Onfleet supports 3 triggers including Task Created, Task Completed, Task Failed.
Connect Onfleet in minutes
Get 20,000 free action executions every month. No credit card required.