LimoExpress ACTION
Create Limo Booking
Creates a new limo booking with specified details. See the documentation
- Action
- Writes data
- API key
- SDK
- MCP
IMPLEMENTATION
Call this tool
Connect a user's LimoExpress account once, then configure and run Create Limo Booking from your backend or agent.
import { PipedreamClient } from "@pipedream/sdk"
const pd = new PipedreamClient({
projectId: process.env.PIPEDREAM_PROJECT_ID!,
clientId: process.env.PIPEDREAM_CLIENT_ID!,
clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
projectEnvironment: "production",
})
const result = await pd.actions.run({
id: "limoexpress-create-booking",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
limoexpress: { authProvisionId: "apn_xxxxxxx" },
bookingTypeId: "Booking Type ID",
bookingStatusId: "Booking Status ID",
},
})
console.log(result)curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
-H "Content-Type: application/json" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}" \
-d '{
"external_user_id": "{external_user_id}",
"id": "limoexpress-create-booking",
"configured_props": {
"limoexpress": { "authProvisionId": "apn_xxxxxxx" },
"bookingTypeId": "Booking Type ID",
"bookingStatusId": "Booking Status ID"
}
}'// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
"x-pd-app-slug": "limoexpress",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// listTools() hands your model this tool's input schema, so it can
// fill the arguments itself:
const result = await mcp.callTool({
name: "limoexpress-create-booking",
arguments: {
bookingTypeId: "Booking Type ID",
bookingStatusId: "Booking Status ID",
},
})SCHEMA
Inputs
Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.
| Property | Type | Description |
|---|---|---|
bookingTypeId Booking Type ID | string | ID of the booking type. Required Dynamic |
bookingStatusId Booking Status ID | string | ID of the booking status. Optional Dynamic |
fromLocationName From Location Name | string | The pickup location name. Required |
fromLocationFullAddress From Location Full Address | string | The pickup location full address. Required |
fromLocationLatitude From Location Latitude | string | The pickup location latitude. Optional |
fromLocationLongitude From Location Longitude | string | The pickup location longitude. Optional |
toLocationName To Location Name | string | The dropoff location name. Required |
toLocationFullAddress To Location Full Address | string | The dropoff location full address. Required |
toLocationLatitude To Location Latitude | string | The dropoff location latitude. Optional |
toLocationLongitude To Location Longitude | string | The dropoff location longitude. Optional |
pickupTime Pickup Time | string | The time scheduled for pickup. Format: YYYY-MM-DD HH:MM:SS Required |
expectedDropOffTime Expected Drop Off Time | string | The expected drop off time. Format: YYYY-MM-DD HH:MM:SS Optional |
expectedComebackTime Expected Comeback Time | string | The expected comeback time. Format: YYYY-MM-DD HH:MM:SS Optional |
vehicleClassId Vehicle Class ID | string | ID of the vehicle class to be used for the booking. Optional Dynamic |
vehicleId Vehicle ID | string | ID of the vehicle to be used for the booking. Vehicle class ID is required. Optional Dynamic |
price Price | string | The price of the booking. Optional |
priceType Price Type | string | The type of price for the booking. Optional |
commissionAmount Commission Amount | string | The commission amount for the booking. Optional |
currencyId Currency ID | string | ID of the currency to be used for the booking. Optional Dynamic |
vatPercentage VAT Percentage | string | The VAT percentage for the booking. Optional |
paymentMethodId Payment Method ID | string | ID of the payment method for the booking. Optional Dynamic |
distance Distance | integer | Number of kilometers/miles that booking will take. Optional |
duration Duration | string | Number of hours and minutes that booking will take. Format: HH:MM Optional |
paid Paid | boolean | Flag that says is the booking paid or not. Optional |
confirmed Confirmed | boolean | Flag that says is the booking confirmed or not. Optional |
roundTrip Round Trip | boolean | Flag that says is the booking a round trip or not. Optional |
note Note | string | Note for the dispatcher. Optional |
noteForDriver Note for Driver | string | Note for the driver. Optional |
flightNumber Flight Number | string | Flight number for the booking. Optional |
numOfWaitingHours Number of Waiting Hours | integer | Number of waiting hours. Optional |
clientId Client ID | string | ID of the client for the booking. Optional Dynamic |
waitingBoardText Waiting Board Text | string | Text that will be places on the waiting board. Optional |
babySeatCount Baby Seat Count | integer | Number of baby seats that will be used for the booking. Optional |
suitcaseCount Suitcase Count | integer | Number of suitcases that will be used for the booking. Optional |
checkpoints Checkpoints | string[] | List of objects of checkpoints location and time. Format: [{"location": { "name": string, "full_address": string, "coordinates": { "lat": number, "lng": number } }, "time": "01:14"}] Optional |
passengers Passengers | string[] | List of objects of passengers. **Format: [{"first_name": string, "last_name": string, "phone": string, "email": string, "nationality": string, "passport": string, "country_id": UUID }] Optional |
REFERENCE
Tool details
Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.
- Registry key
- limoexpress-create-booking
- Version
- 0.0.2
- App
- LimoExpress
- Authentication
- API key
- Read-only
- No
- Destructive
- No
- Open world
- Yes
- Source
- View on GitHub ↗