Reference
Agent Tools
Canonical generated list of Ramp tools available through Ramp MCP and Ramp CLI.
This is the canonical generated list of Ramp Agent Tools available through both Ramp MCP and Ramp CLI at build time, including exact tool names, descriptions, and parameters.
Runtime access still depends on the authenticated Ramp identity's permissions, admin controls, scopes, connected client, environment, and installed CLI version. If this list differs from the tools available in your MCP client or CLI, reconnect Ramp or update the CLI and use the live tool list for that connection.
Generated from https://api.ramp.com/v1/public/agent-tools/spec. This reviewed snapshot includes 147 tools. Runtime access still depends on the authenticated Ramp identity's permissions, scopes, connected client, environment, and installed CLI version. If this list differs from your MCP client or CLI, reconnect Ramp or update the CLI and use the live tool list.
Accounting and sync
ramp_get_latest_syncGet the most recent accounting sync commit for the acting user's business and sync type.
Parameters and full description
Get the most recent accounting sync commit for the acting user's business and sync type. Use this when you need the latest sync status plus every intended and successful count exposed by Ramp's accounting latest-sync endpoint.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
sync_typerequired | string | Sync type to fetch, such as TRANSACTION_SYNC, BILL_SYNC, BILL_PAYMENT_SYNC, REIMBURSEMENT_SYNC, TRANSFER_SYNC, WALLET_TRANSFER_SYNC, or ACCRUAL_SYNC. |
ramp_get_sync_commit_failure_detailsGet object-level failure details for an accounting sync commit by UUID.
Parameters and full description
Get object-level failure details for an accounting sync commit by UUID. Use this when a customer asks about failed accounting sync rows, including rows from the accounting transactions table, reimbursements table, or bills tab.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
sync_commit_uuidrequired | string | Sync Commit Uuid |
ramp_get_tracking_categoriesRetrieve active accounting tracking category metadata for transaction coding, such
Parameters and full description
Retrieve active accounting tracking category metadata for transaction coding, such as departments, classes or business units, locations, projects, customers, and cost centers. Use GetTrackingCategoryOptions for a category's options. If passing transaction_uuid, use an actual TransactionCanonical UUID from context or a prior lookup; omit it rather than passing a placeholder or natural-language reference.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
include_hidden | boolean | Include Hidden |
transaction_uuid | string | null | Transaction Uuid |
ramp_get_tracking_category_optionsList specific departments, projects, or other options for a tracking category.
Parameters and full description
List specific departments, projects, or other options for a tracking category. Pass `query_string` to narrow by name, synonym, or provider code. Do not call this tool when you already have the exact tracking_category_option_uuid from user-provided context, suggested codings, or another tool result; pass that UUID directly to the coding tool as the option_selection. If the user message includes `tracking_category_option_uuid=...`, do not call this tool just to confirm the option. If you're coding a specific transaction or reimbursement, pass its UUID so results respect conditional filtering (subsidiary, department, location, etc.); skip it for generic lookups, including bill/invoice contexts. Categories can have millions of options — paginate via `next_page_cursor` when needed, keeping all other inputs unchanged between pages.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
tracking_category_uuidrequired | string | Tracking Category Uuid |
include_hidden | boolean | Include Hidden |
next_page_cursor | integer | null | Next Page Cursor |
page_size | integer | Page Size |
query_string | string | null | Query String |
reimbursement_uuid | string | null | Reimbursement Uuid |
transaction_uuid | string | null | Transaction Uuid |
ramp_mark_ready_to_syncMark objects as ready to sync to your accounting provider
Parameters and full description
Mark objects as ready to sync to your accounting provider
| Parameter | Type | Description |
|---|---|---|
object_idsrequired | array | IDs of the objects to mark as ready to sync. All IDs must belong to the authenticated business; the request fails if any ID is not found. |
object_typerequired | string | The type of object to mark ready to sync. Supported values are TRANSACTION and REIMBURSEMENT. |
Agent cards and x402
ramp_enroll_business_in_agent_cardsEnroll the current business in agent cards for agentic commerce.
Parameters and full description
Enroll the current business in agent cards for agentic commerce.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
ramp_fund_x402_walletFund the business's x402 wallet from a Ramp Checking Account.
Parameters and full description
Fund the business's x402 wallet from a Ramp Checking Account. Before calling, use ListBusinessAccounts to obtain the source account UUID; never guess it. Confirm the exact source account and positive USD amount with the user before creating this irreversible transfer. MCP and CLI callers must provide an idempotency key. Only active Increase USD accounts are supported.
| Parameter | Type | Description |
|---|---|---|
amountrequired | number | string | Amount |
rationalerequired | string | Rationale |
source_wallet_account_uuidrequired | string | Source Wallet Account Uuid |
idempotency_key | string | null | Idempotency Key |
ramp_get_agent_card_credsGet a one-time payment token for a fund. Handles card enrollment and purchase instructions automatically.
Parameters and full description
Get a one-time payment token for a fund. Handles card enrollment and purchase instructions automatically.
| Parameter | Type | Description |
|---|---|---|
amountrequired | string | Amount |
currency_coderequired | string | Currency Code |
fund_idrequired | string | Fund Id |
merchant_country_coderequired | string | Merchant Country Code |
merchant_namerequired | string | Merchant Name |
merchant_urlrequired | string | Merchant Url |
rationalerequired | string | Rationale |
idempotency_key | string | null | Optional for direct callers and required when recognized vault-proxy context is present. Must be a non-empty string of at most 255 characters. |
ramp_get_agent_card_fundsList funds that can be used for agent card payments. Returns eligible funds with available balance.
Parameters and full description
List funds that can be used for agent card payments. Returns eligible funds with available balance.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
ramp_pay_with_x402Pay an x402 payment request from your business's stablecoin balance.
Parameters and full description
Pay an x402 payment request from your business's stablecoin balance. Fill the inputs from the merchant's 402 payment challenge. Returns a ready-to-send payment header to attach when retrying the original request.
| Parameter | Type | Description |
|---|---|---|
acceptedrequired | object | Exact chosen entry from the challenge's accepts array |
rationalerequired | string | Rationale |
resourcerequired | object | Resource object from the merchant's 402 challenge |
extensions | object | null | Extensions |
ramp_provision_x402_walletProvision your business's x402 wallet after the user explicitly confirms.
Parameters and full description
Provision your business's x402 wallet after the user explicitly confirms. Returns the same sign-ready Solana wallet on repeated calls. Do not call this tool until an owner or admin confirms that the wallet should be provisioned.
| Parameter | Type | Description |
|---|---|---|
confirmedrequired | boolean | Confirmed |
rationalerequired | string | Rationale |
ramp_withdraw_x402_walletWithdraw the business's x402 wallet balance to a Ramp Checking Account.
Parameters and full description
Withdraw the business's x402 wallet balance to a Ramp Checking Account. Before calling, use ListBusinessAccounts to obtain the destination account UUID; never guess it. Confirm the exact destination account and USDC amount with the user before creating this irreversible transfer. MCP and CLI callers must provide an idempotency key. Only active Increase USD accounts are supported.
| Parameter | Type | Description |
|---|---|---|
amountrequired | number | string | Amount |
destination_wallet_account_uuidrequired | string | Destination Wallet Account Uuid |
rationalerequired | string | Rationale |
idempotency_key | string | null | Idempotency Key |
Analytics and AI spend
ramp_execute_analyst_queryRun read-only SQL for aggregate business analysis. First use the analyst catalog and read the domain docs for every table in the query; those docs define supported tables, columns, joins, and metric semantics.
Parameters and full description
Run read-only SQL for aggregate business analysis. First use the analyst catalog and read the domain docs for every table in the query; those docs define supported tables, columns, joins, and metric semantics.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
sqlrequired | string | Sql |
artifact_instance_id | string | Artifact Instance Id |
ramp_get_ai_token_spend_aggregatesAggregate AI token usage or estimated cost over a time window, grouped by caller-selected dimensions (provider, model, configuration, department, user, or API-key tag group).
Parameters and full description
Aggregate AI token usage or estimated cost over a time window, grouped by caller-selected dimensions (provider, model, configuration, department, user, or API-key tag group).
| Parameter | Type | Description |
|---|---|---|
end_atrequired | string | End At |
metricrequired | string | Metric |
rationalerequired | string | Rationale |
start_atrequired | string | Start At |
configuration_ids | array | null | Configuration Ids |
department_uuids | array | null | Department Uuids |
group_by | array | null | Group By |
model_compute_tier | array | null | Model Compute Tier |
model_context_window | array | null | Model Context Window |
model_families | array | null | Model Families |
model_fine_tune_source | array | null | Model Fine Tune Source |
model_speed | array | null | Model Speed |
model_thinking | array | null | Model Thinking |
models | array | null | Models |
providers | array | null | Providers |
rollup | string | Time bucketing. 'all' returns a single bucket per group; 'daily'/'weekly'/'monthly' return one row per bucket per group. |
tag_definition_id | string | null | Tag Definition Id |
user_uuids | array | null | User Uuids |
ramp_get_ai_token_spend_connectionsSummarize connected AI providers (admin keys and OpenRouter/LiteLLM gateway connections). Use GetAiTokenSpendCurrentSpend for actual vendor spend and GetAiTokenSpendAggregates for estimated token usage and cost.
Parameters and full description
Summarize connected AI providers (admin keys and OpenRouter/LiteLLM gateway connections). Use GetAiTokenSpendCurrentSpend for actual vendor spend and GetAiTokenSpendAggregates for estimated token usage and cost.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
ramp_get_ai_token_spend_current_spendReport the business's actual trailing-30-day Ramp spend on AI vendors (card, bill, and reimbursement spend) per provider. Requires transaction, reimbursement, or bill read access.
Parameters and full description
Report the business's actual trailing-30-day Ramp spend on AI vendors (card, bill, and reimbursement spend) per provider. Requires transaction, reimbursement, or bill read access.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
ramp_get_ai_token_spend_filter_optionsList the dimensions and values available for AI-spend aggregate queries: providers, models, model families/facets, departments, and API-key tag groups.
Parameters and full description
List the dimensions and values available for AI-spend aggregate queries: providers, models, model families/facets, departments, and API-key tag groups.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
ramp_get_analyst_catalogDiscover available analyst tables and starter SQL for aggregate business analysis. Review the catalog before writing a query, then read domain docs for every table used.
Parameters and full description
Discover available analyst tables and starter SQL for aggregate business analysis. Review the catalog before writing a query, then read domain docs for every table used.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
artifact_instance_id | string | Artifact Instance Id |
ramp_get_analyst_metric_metadataDiscover supported analyst metrics and starter SQL for aggregate business analysis.
Parameters and full description
Discover supported analyst metrics and starter SQL for aggregate business analysis.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
artifact_instance_id | string | Artifact Instance Id |
ramp_get_analyst_spend_facts_domain_docsRead domain documentation for analyst.spend_facts before using it in an analyst query.
Parameters and full description
Read domain documentation for analyst.spend_facts before using it in an analyst query.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
artifact_instance_id | string | Artifact Instance Id |
ramp_get_analyst_table_domain_docsRead domain documentation for an analyst table before using it in an analyst query.
Parameters and full description
Read domain documentation for an analyst table before using it in an analyst query.
| Parameter | Type | Description |
|---|---|---|
qualified_namerequired | string | Schema-qualified analyst table whose domain docs should be returned. |
rationalerequired | string | Rationale |
artifact_instance_id | string | Artifact Instance Id |
ramp_get_my_ai_token_spend_aggregatesAggregate the acting user's own AI token usage and estimated token cost over a time window, optionally grouped by provider and model.
Parameters and full description
Aggregate the acting user's own AI token usage and estimated token cost over a time window, optionally grouped by provider and model.
| Parameter | Type | Description |
|---|---|---|
end_atrequired | string | End At |
rationalerequired | string | Rationale |
start_atrequired | string | Start At |
group_by | array | null | Group By |
model_compute_tier | array | null | Model Compute Tier |
model_context_window | array | null | Model Context Window |
model_families | array | null | Model Families |
model_fine_tune_source | array | null | Model Fine Tune Source |
model_speed | array | null | Model Speed |
model_thinking | array | null | Model Thinking |
models | array | null | Models |
providers | array | null | Providers |
rollup | string | Time bucketing. 'all' returns a single bucket per group; 'daily'/'weekly'/'monthly' return one row per bucket per group. |
Approvals and review
ramp_approve_or_reject_billApprove or reject a submitted bill that is pending approval. The authenticated user must be the next required approver on the bill's approval chain. Rejection is additionally allowed for bill-pay admins as an override, even when they are not the next approver. Find bills awaiting the authenticated user's approval with get-bills-for-approval. Some bills require step-up verification that agents cannot complete; in that case the error includes a redirect_url that the human user must open in a browser to finish the action there. Approving advances the bill's approval chain, exactly as approving in the Ramp web app does: depending on the business's payment-release settings, a bill that becomes fully approved with payment details and a payment date already set may proceed to payment automatically. After an approval, the response reports the bill's resulting payment state: whether any of its payments has been initiated (payment_initiated — this includes earlier partial payments; a chain-completing approval may have just added one) and the earliest such payment date (payment_date) — so you can inform the user. This tool never schedules payments or edits payment details; payment scheduling and release are managed in the Ramp web app — hand the user the bill_url returned on success.
Parameters and full description
Approve or reject a submitted bill that is pending approval. The authenticated user must be the next required approver on the bill's approval chain. Rejection is additionally allowed for bill-pay admins as an override, even when they are not the next approver. Find bills awaiting the authenticated user's approval with get-bills-for-approval. Some bills require step-up verification that agents cannot complete; in that case the error includes a redirect_url that the human user must open in a browser to finish the action there. Approving advances the bill's approval chain, exactly as approving in the Ramp web app does: depending on the business's payment-release settings, a bill that becomes fully approved with payment details and a payment date already set may proceed to payment automatically. After an approval, the response reports the bill's resulting payment state: whether any of its payments has been initiated (payment_initiated — this includes earlier partial payments; a chain-completing approval may have just added one) and the earliest such payment date (payment_date) — so you can inform the user. This tool never schedules payments or edits payment details; payment scheduling and release are managed in the Ramp web app — hand the user the bill_url returned on success.
| Parameter | Type | Description |
|---|---|---|
action_typerequired | string | Action Type |
bill_idrequired | string | Bill Id |
rationalerequired | string | Rationale |
reason | string | null | Reason |
ramp_approve_or_reject_reimbursementApprove or reject an employee reimbursement request for an out-of-pocket expense.
Parameters and full description
Approve or reject an employee reimbursement request for an out-of-pocket expense. Use this tool when the user wants to approve or reject a reimbursement. Reimbursements are employee-submitted requests for reimbursement of out-of-pocket expenses. Common usage patterns: "approve this reimbursement", "reject the expense", "yes, reimburse them", "no, don't reimburse this". This tool is specifically for employee reimbursements and is NOT for approving/rejecting card transactions or unified requests (spend allocations, purchase orders).
| Parameter | Type | Description |
|---|---|---|
actionrequired | string | The action to take on the reimbursement: approve or reject. |
rationalerequired | string | Rationale |
reimbursement_idrequired | string | Reimbursement Id |
thoughts | string | null | Thoughts |
user_reason | string | null | User Reason |
ramp_approve_or_reject_requestApprove or reject a pending unified request for spend allocation (fund), purchase order, or procurement approval.
Parameters and full description
Approve or reject a pending unified request for spend allocation (fund), purchase order, or procurement approval. Use this tool when a user wants to approve or reject a specific request they have identified or referenced. Common usage patterns: "approve this request", "reject this request", "accept the request", "deny this", "authorize this", "yes approve it", "decline this request". This tool is specifically for unified requests (spend allocations, purchase orders, procurement approvals) and is NOT for approving expenses like corporate card transactions or reimbursements. The user must have proper approval authority for the request.
| Parameter | Type | Description |
|---|---|---|
actionrequired | string | The action to perform: APPROVE or REJECT |
rationalerequired | string | Rationale |
thoughtsrequired | string | Thoughts |
unified_request_idrequired | string | null | Unified Request Id |
ramp_approve_or_reject_transactionApprove or reject a transaction awaiting your review.
Parameters and full description
Approve or reject a transaction awaiting your review. Use this tool when the user wants to approve a transaction, send it back for revisions, or require the cardholder to repay the full amount. The acting user must have the proper approval authority for the transaction. If the user provides a written justification (e.g., “reject this because the receipt is missing”), pass that verbatim via `user_reason`—do not invent your own rationale.
| Parameter | Type | Description |
|---|---|---|
actionrequired | string | Action to perform: APPROVE, REJECT_AND_REQUEST_CHANGES (send back to cardholder with requested revisions), or REJECT_AND_REQUEST_FULL_REPAYMENT (require employee repayment). |
rationalerequired | string | Rationale |
thoughtsrequired | string | Thoughts |
transaction_idrequired | string | Transaction Id |
user_reason | string | null | User Reason |
ramp_get_bills_for_approvalGet bills that are pending approval from the current user.
Parameters and full description
Get bills that are pending approval from the current user. Use this tool when the user wants to see bills they need to approve or asks about pending approvals. This returns only bills where the authenticated user is the next required approver in the approval chain. Bills in Ramp have two stages: draft bills (created/uploaded but not yet submitted; use the draft-bill tools) and bills (submitted; they move through approval, then scheduling, then payment). A draft keeps the same ID after submission, but draft-only tools stop working on it once submitted.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
limit | integer | Limit |
page_cursor | string | null | Page Cursor |
ramp_get_reimbursements_for_approvalGet employee reimbursements pending approval by the current user. Includes policy assessment data and recommended actions.
Parameters and full description
Get employee reimbursements pending approval by the current user. Includes policy assessment data and recommended actions.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
limit | integer | Limit |
ramp_get_requests_to_reviewGet requests that require the current user's review and approval.
Parameters and full description
Get requests that require the current user's review and approval. This is the approval-queue wrapper over SearchUnifiedRequests. Use it when the user is specifically asking what they need to review or approve right now. For broader lookup by vendor, owner, status, or request name, prefer SearchUnifiedRequests instead. Only handles lookups, does not take any action.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
thoughtsrequired | string | Thoughts |
page_size | integer | Page Size |
request_types | array | null | Request Types |
start | string | null | Start |
ramp_remind_bill_approversRemind next approvers for bills awaiting approval.
Parameters and full description
Remind next approvers for bills awaiting approval. Use this tool when the user wants to nudge approvers for specific bill UUIDs. The bills should be awaiting approval; use get-bills-for-approval first if the user has not identified the bill UUIDs.
| Parameter | Type | Description |
|---|---|---|
bill_uuidsrequired | array | Bill Uuids |
rationalerequired | string | Rationale |
Banking and treasury
ramp_account_numbersList agent account numbers
Parameters and full description
List agent account numbers
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Why this MCP tool call is needed. |
page_size | integer | null | The number of results to be returned in each page. The value must be between 2 and 100. If not specified, the default value 20 will be used. |
start | string | null | The ID of the last entity of the previous page, used for pagination to get the next page. |
ramp_accountsList bank accounts
Parameters and full description
List bank accounts
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Why this MCP tool call is needed. |
connection_provider | string | null | Filter bank accounts by connection provider. |
page_size | integer | null | The number of results to be returned in each page. The value must be between 2 and 100. If not specified, the default value 20 will be used. |
start | string | null | The ID of the last entity of the previous page, used for pagination to get the next page. |
ramp_createCreate a manually connected bank account
Parameters and full description
Create a manually connected bank account
| Parameter | Type | Description |
|---|---|---|
account_numberrequired | string | Bank account number. |
account_subtyperequired | string | Bank account subtype. |
rationalerequired | string | Why this MCP tool call is needed. |
routing_numberrequired | string | ABA routing number used for ACH transfers. |
account_name | string | null | Optional display name for the bank account. |
idempotency_key | string | null | Unique idempotency key generated by the client. Must be a non-empty string of at most 255 characters. |
wire_details | object | null | Optional wire-transfer details for the account. |
ramp_get_account_balance_historyGet daily balance history for a specific Ramp Checking Account.
Parameters and full description
Get daily balance history for a specific Ramp Checking Account. Use when the user asks about balance history for a specific account, savings account trend, checking account balance over time, or the balance trend for a specific Ramp Checking Account. This tool only supports Ramp Checking Accounts, not Investment Accounts or Managed Portfolios.
| Parameter | Type | Description |
|---|---|---|
account_uuidrequired | string | Account Uuid |
rationalerequired | string | Rationale |
end_date | string | null | End Date |
start_date | string | null | Start Date |
ramp_get_investment_account_balanceGet the balance of investment accounts for the business.
Parameters and full description
Get the balance of investment accounts for the business. Use this when the user asks about investment account balances, brokerage cash, or the current balance of Ramp investment accounts. Returns all investment accounts the business has, along with balances, status, yield, and earnings.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
ramp_get_managed_portfolio_account_balanceGet the balance of managed portfolio accounts for the business.
Parameters and full description
Get the balance of managed portfolio accounts for the business. Use this when the user asks about managed portfolio balances, managed portfolio cash, or the current balance of Ramp managed portfolio accounts. Returns all managed portfolio accounts the business has, along with balances, market value, status, yield, and earnings.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
ramp_get_ramp_business_account_balanceGet the balance of Ramp Checking Accounts for the business.
Parameters and full description
Get the balance of Ramp Checking Accounts for the business. Returns the available balance, statement balance, and other details for all Ramp Checking Accounts associated with the user's business. This includes yield/earnings information and account status. This tool is intentionally limited to the stable user-facing fields for Ramp Checking Accounts. Do not infer deprecated pending balances or current month accrued yield values from other treasury payloads when responding to the user.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
ramp_get_treasury_balance_historyGet daily balance history across all Treasury accounts for a date range.
Parameters and full description
Get daily balance history across all Treasury accounts for a date range.
| Parameter | Type | Description |
|---|---|---|
end_daterequired | string | End Date |
rationalerequired | string | Rationale |
start_daterequired | string | Start Date |
ramp_list_business_accountsList all Ramp Checking Accounts (wallet accounts) for the user's business.
Parameters and full description
List all Ramp Checking Accounts (wallet accounts) for the user's business. Returns account details including balances, currency, yield rate, and status. Use this tool when the user asks about their checking accounts, wallet accounts, or wants to see an overview of their Ramp Checking Accounts.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
ramp_list_treasury_accountsList all Treasury accounts (Ramp Checking Accounts, Investment Accounts, Managed Portfolios).
Parameters and full description
List all Treasury accounts (Ramp Checking Accounts, Investment Accounts, Managed Portfolios).
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
ramp_list_wallet_transfersList wallet transfers for the user's business Ramp Checking Accounts.
Parameters and full description
List wallet transfers for the user's business Ramp Checking Accounts. Returns a list of transfers including deposits, withdrawals, and other transactions with details like amount, status, and dates.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
from_date | string | null | From Date |
page_size | integer | Page Size |
to_date | string | null | To Date |
ramp_request_fundsRequest funds for a banking account
Parameters and full description
Request funds for a banking account
| Parameter | Type | Description |
|---|---|---|
amountrequired | object | Amount to request in minor currency units |
banking_account_idrequired | string | Unique identifier of the banking account. |
external_bank_account_idrequired | string | External bank account to request funds from |
rationalerequired | string | Why this MCP tool call is needed. |
agent_account_number_id | string | null | Agent account number to receive the funds. If omitted, the banking account's primary account number is used |
idempotency_key | string | null | Unique idempotency key generated by the client. Must be a non-empty string of at most 255 characters. |
memo | string | null | Optional reason for the funding request |
Bills and vendor payments
ramp_create_draft_billCreate a new draft bill for an existing vendor. Use search-vendors to resolve a vendor name to vendor_uuid first. This creates only a draft: it does not submit the bill, start approvals, schedule it, release it, or initiate a payment. Use update-draft-bill for later edits and submit-draft-bill only after the user confirms the completed draft is ready.
Parameters and full description
Create a new draft bill for an existing vendor. Use search-vendors to resolve a vendor name to vendor_uuid first. This creates only a draft: it does not submit the bill, start approvals, schedule it, release it, or initiate a payment. Use update-draft-bill for later edits and submit-draft-bill only after the user confirms the completed draft is ready.
| Parameter | Type | Description |
|---|---|---|
draft_billrequired | object | Draft bill fields to set at creation. Do not include vendor fields; vendor_uuid is the only vendor input. |
rationalerequired | string | Rationale |
vendor_uuidrequired | string | UUID of the existing vendor/payee for this draft bill. |
idempotency_key | string | null | Unique idempotency key generated by the client. Must be a non-empty string of at most 255 characters. |
ramp_create_pending_payeeCreate a pending vendor/payee record.
Parameters and full description
Create a pending vendor/payee record. Call SearchVendors first with include_draft=true. Reuse a suitable existing vendor, including a pending vendor, instead of creating a duplicate. Never create a duplicate to work around an existing vendor whose status is INACTIVE — an admin must re-enable that vendor instead.
| Parameter | Type | Description |
|---|---|---|
namerequired | string | Name |
rationalerequired | string | Rationale |
contact | object | null | Vendor contact |
description | string | null | Description |
website | string | null | Website |
ramp_get_bill_amount_summaryGet aggregate dollar amounts for bills matching the given filters.
Parameters and full description
Get aggregate dollar amounts for bills matching the given filters. Examples: total unpaid amount, total pending amount. Use when users ask things like "How much do we owe in bills?" or "What's our total outstanding bill amount?". Bills in Ramp have two stages: draft bills (created/uploaded but not yet submitted; use the draft-bill tools) and bills (submitted; they move through approval, then scheduling, then payment). A draft keeps the same ID after submission, but draft-only tools stop working on it once submitted.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
due_date_from | string | null | Due Date From |
due_date_to | string | null | Due Date To |
max_amount | number | null | Max Amount |
min_amount | number | null | Min Amount |
payment_status | string | null | Payment Status |
vendor_name | string | null | Vendor Name |
ramp_get_bill_commentsRetrieve comments from a bill's comment thread.
Parameters and full description
Retrieve comments from a bill's comment thread. Bills in Ramp have two stages: draft bills (created/uploaded but not yet submitted; use the draft-bill tools) and bills (submitted; they move through approval, then scheduling, then payment). A draft keeps the same ID after submission, but draft-only tools stop working on it once submitted.
| Parameter | Type | Description |
|---|---|---|
bill_idrequired | string | Bill Id |
rationalerequired | string | Rationale |
ramp_get_bill_detailsGet comprehensive details about a specific bill including payment status, approval status, and all metadata.
Parameters and full description
Get comprehensive details about a specific bill including payment status, approval status, and all metadata. This tool retrieves submitted bills only. For draft bills that have not yet been submitted, use get-draft-bill-details instead. Bills in Ramp have two stages: draft bills (created/uploaded but not yet submitted; use the draft-bill tools) and bills (submitted; they move through approval, then scheduling, then payment). A draft keeps the same ID after submission, but draft-only tools stop working on it once submitted.
| Parameter | Type | Description |
|---|---|---|
bill_idrequired | string | Bill Id |
rationalerequired | string | Rationale |
ramp_get_bill_historyRetrieve the full modification and approval history of a bill, including status changes, approval actions, and creation details.
Parameters and full description
Retrieve the full modification and approval history of a bill, including status changes, approval actions, and creation details. Returns a chronological event log — creation, submission, each approval-chain action with actor and timestamp, and deletion. Use it to answer questions like "who approved this bill?". Bills in Ramp have two stages: draft bills (created/uploaded but not yet submitted; use the draft-bill tools) and bills (submitted; they move through approval, then scheduling, then payment). A draft keeps the same ID after submission, but draft-only tools stop working on it once submitted.
| Parameter | Type | Description |
|---|---|---|
bill_idrequired | string | Bill Id |
rationalerequired | string | Rationale |
ramp_get_bill_invoicesRetrieve invoice file attachments (PDFs/images) for a submitted bill.
Parameters and full description
Retrieve invoice file attachments (PDFs/images) for a submitted bill. Returns the source documents backing the bill: for each attachment, the filename, type, and a time-limited download URL (the URL expires after about 3 days). Draft bills are not supported: draft attachments are not retrievable through agent tools. get-draft-bill-details returns draft metadata and a link to the draft page in the Ramp web app, where attachments can be viewed. Bills in Ramp have two stages: draft bills (created/uploaded but not yet submitted; use the draft-bill tools) and bills (submitted; they move through approval, then scheduling, then payment). A draft keeps the same ID after submission, but draft-only tools stop working on it once submitted.
| Parameter | Type | Description |
|---|---|---|
bill_idrequired | string | Bill Id |
rationalerequired | string | Rationale |
ramp_get_bill_metricsReturns the count of bills matching specified filters. Use this to answer questions like "How many bills are pending approval?" or "How many overdue bills do we have?".
Parameters and full description
Returns the count of bills matching specified filters. Use this to answer questions like "How many bills are pending approval?" or "How many overdue bills do we have?". Bills in Ramp have two stages: draft bills (created/uploaded but not yet submitted; use the draft-bill tools) and bills (submitted; they move through approval, then scheduling, then payment). A draft keeps the same ID after submission, but draft-only tools stop working on it once submitted.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
approval_status | string | null | Approval Status |
from_due_date | string | null | From Due Date |
is_draft | boolean | null | Is Draft |
payment_status | string | null | Payment Status |
status_summary | string | null | Status Summary |
to_due_date | string | null | To Due Date |
vendor_name | string | null | Vendor Name |
ramp_get_bill_statusGet the current payment and approval status of a specific bill, including any required next actions.
Parameters and full description
Get the current payment and approval status of a specific bill, including any required next actions. Bills in Ramp have two stages: draft bills (created/uploaded but not yet submitted; use the draft-bill tools) and bills (submitted; they move through approval, then scheduling, then payment). A draft keeps the same ID after submission, but draft-only tools stop working on it once submitted.
| Parameter | Type | Description |
|---|---|---|
bill_idrequired | string | Bill Id |
rationalerequired | string | Rationale |
ramp_get_draft_bill_detailsGet rich details for a draft bill.
Parameters and full description
Get rich details for a draft bill. Returns compact draft-bill metadata by default. When requested, it also returns the draft's full editable field set inline, in the shape accepted by the draft update tool. Bills in Ramp have two stages: draft bills (created/uploaded but not yet submitted; use the draft-bill tools) and bills (submitted; they move through approval, then scheduling, then payment). A draft keeps the same ID after submission, but draft-only tools stop working on it once submitted.
| Parameter | Type | Description |
|---|---|---|
bill_idrequired | string | Bill Id |
rationalerequired | string | Rationale |
return_line_items | boolean | Return Line Items |
ramp_get_recurring_billRetrieve details of a recurring bill template including vendor, amount, recurrence schedule, and next payment date.
Parameters and full description
Retrieve details of a recurring bill template including vendor, amount, recurrence schedule, and next payment date. Bills in Ramp have two stages: draft bills (created/uploaded but not yet submitted; use the draft-bill tools) and bills (submitted; they move through approval, then scheduling, then payment). A draft keeps the same ID after submission, but draft-only tools stop working on it once submitted.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
recurring_bill_idrequired | string | Recurring Bill Id |
ramp_get_vendor_agreementRetrieve details for a specific vendor agreement/contract by UUID. Returns contract metadata, terms, line items, contract owners, documents, linked spend requests, and renewal history.
Parameters and full description
Retrieve details for a specific vendor agreement/contract by UUID. Returns contract metadata, terms, line items, contract owners, documents, linked spend requests, and renewal history.
| Parameter | Type | Description |
|---|---|---|
payee_agreement_uuidrequired | string | Payee Agreement Uuid |
rationalerequired | string | Rationale |
ramp_get_vendor_document_bulk_statusGet bulk vendor document upload progress and current document review state.
Parameters and full description
Get bulk vendor document upload progress and current document review state. Use this after `BulkUploadVendorDocuments` to inspect the batch job status, understand whether any documents still need manual review, and inspect the current document/vendor matching and extracted tax details.
| Parameter | Type | Description |
|---|---|---|
batch_idrequired | string | Batch Id |
rationalerequired | string | Rationale |
is_w_document | boolean | null | Is W Document |
ramp_list_billsList and filter bills with optional search, pagination, and status filters.
Parameters and full description
List and filter bills with optional search, pagination, and status filters. Returns bills for the current user's business. When called with no parameters, returns the most recent bills. Supports optional text search across vendor name, invoice number, and payment ID. Bills in Ramp have two stages: draft bills (created/uploaded but not yet submitted; use the draft-bill tools) and bills (submitted; they move through approval, then scheduling, then payment). A draft keeps the same ID after submission, but draft-only tools stop working on it once submitted.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
include_paid | boolean | Include Paid |
limit | integer | Limit |
page_cursor | string | null | Page Cursor |
query | string | null | Query |
ramp_list_vendor_agreementsList and filter vendor agreements/contracts across the business. Returns agreement details including dates, values, renewal status, line items, and days remaining. All filters are optional — omit all to list all agreements, or combine filters to narrow results.
Parameters and full description
List and filter vendor agreements/contracts across the business. Returns agreement details including dates, values, renewal status, line items, and days remaining. All filters are optional — omit all to list all agreements, or combine filters to narrow results.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
auto_renews | boolean | null | Auto Renews |
contract_owner_ids | array | null | Contract Owner Ids |
department_ids | array | null | Department Ids |
has_end_date | boolean | null | Has End Date |
include_archived | boolean | Include Archived |
is_active | boolean | null | Is Active |
is_up_for_renewal | boolean | null | Is Up For Renewal |
limit | integer | Limit |
max_days_remaining | integer | null | Max Days Remaining |
max_end_date | string | null | Max End Date |
max_last_date_to_terminate | string | null | Max Last Date To Terminate |
max_start_date | string | null | Max Start Date |
max_total_value | number | string | null | Max Total Value |
min_days_remaining | integer | null | Min Days Remaining |
min_end_date | string | null | Min End Date |
min_last_date_to_terminate | string | null | Min Last Date To Terminate |
min_start_date | string | null | Min Start Date |
min_total_value | number | string | null | Min Total Value |
payee_agreement_ids | array | null | Payee Agreement Ids |
payee_owner_ids | array | null | Payee Owner Ids |
payee_uuid | string | null | Payee Uuid |
renewal_status | array | null | Renewal Status |
sort_ascending | boolean | null | Sort Ascending |
sort_by | string | null | Sort results by: TOTAL_AMOUNT, NUM_DAYS_REMAINING, or END_DATE. Default: NUM_DAYS_REMAINING ascending. |
vendor_name | string | null | Vendor Name |
ramp_search_billsSearch for bills using natural language queries like vendor names, amounts, or invoice numbers.
Parameters and full description
Search for bills using natural language queries like vendor names, amounts, or invoice numbers. Submitted and active draft bills may both be returned unless include_drafts=False. To look up only a draft bill, use get-draft-bill-details instead. Check each result: when is_draft is true, follow up with get-draft-bill-details; otherwise use get-bill-details. Bills in Ramp have two stages: draft bills (created/uploaded but not yet submitted; use the draft-bill tools) and bills (submitted; they move through approval, then scheduling, then payment). A draft keeps the same ID after submission, but draft-only tools stop working on it once submitted.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
accrual_year_month | string | null | Accrual Year Month |
from_due_date | string | null | From Due Date |
from_payment_date | string | null | From Payment Date |
include_drafts | boolean | null | Include Drafts |
include_paid | boolean | null | Include Paid |
limit | integer | Limit |
page_cursor | string | null | Page Cursor |
query | string | Query |
status_summaries | array | null | Status Summaries |
to_due_date | string | null | To Due Date |
to_payment_date | string | null | To Payment Date |
ramp_search_vendorsSearch for vendors (payees) within the business by name.
Parameters and full description
Search for vendors (payees) within the business by name. This tool searches for vendor records using both fuzzy SQL matching (trigram similarity + substring) and semantic (vector) search. Use this to find vendor IDs when you need to: - Look up a vendor by partial name - Find the correct vendor UUID for further analysis - Discover vendors similar to a given name The search is scoped to the current business context.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
include_draft | boolean | Include Draft |
is_1099_tracking_enabled | boolean | null | Is 1099 Tracking Enabled |
limit | integer | Limit |
search_term | string | null | Search Term |
tax_1099_year | integer | null | Tax 1099 Year |
ramp_submit_draft_billSubmit a ready draft bill for approval. The draft must be complete (vendor, amount, payment method, and vendor contact set) - read it with get-draft-bill-details first and fill gaps with update-draft-bill. Submission is accepted asynchronously: the bill keeps the same ID as the draft, so verify completion with get-bill-status using the same ID. Once created, the bill enters its approval chain automatically. Some submissions require identity verification that agents cannot complete; in that case the error includes a redirect_url that the human user must open in a browser to finish submitting in the Ramp web app. Payment scheduling and release are done in the Ramp web app, not through tools.
Parameters and full description
Submit a ready draft bill for approval. The draft must be complete (vendor, amount, payment method, and vendor contact set) - read it with get-draft-bill-details first and fill gaps with update-draft-bill. Submission is accepted asynchronously: the bill keeps the same ID as the draft, so verify completion with get-bill-status using the same ID. Once created, the bill enters its approval chain automatically. Some submissions require identity verification that agents cannot complete; in that case the error includes a redirect_url that the human user must open in a browser to finish submitting in the Ramp web app. Payment scheduling and release are done in the Ramp web app, not through tools. Submit only when the user has reviewed the draft and their current message clearly asks to submit that specific draft. A request to create, edit, or review a draft is not authorization to submit it.
| Parameter | Type | Description |
|---|---|---|
draft_bill_idrequired | string | UUID of the draft bill to submit. Find it with search-bills (DRAFT_* statuses) or get-draft-bill-details. |
rationalerequired | string | Rationale |
ramp_update_draft_billUpdate a draft bill: its fields, line items, accounting category coding, and draft payment details.
Parameters and full description
Update a draft bill: its fields, line items, accounting category coding, and draft payment details. Call get-draft-bill-details first and echo its `version` back on this call; if the draft changed in between, the update is rejected and the error includes the current version to retry with. Omitted fields are left unchanged; set a nullable field to null only to intentionally clear it. `provisional_bill_id` takes the draft bill's UUID. Tracking-category and option ids may be passed as UUIDs from get-tracking-categories / get-tracking-category-options. Draft bills that have already been submitted can no longer be edited. Draft bills with retainage (withholding) are not supported by this tool.
| Parameter | Type | Description |
|---|---|---|
provisional_billrequired | object | The draft bill fields to change (same shape as `editable_payload` returned by get-draft-bill-details). Omitted fields remain unchanged; set a nullable field to null only when you intentionally want to clear it. Tracking-category and option ids may be passed as UUIDs (from get-tracking-categories / get-tracking-category-options) — they are resolved automatically. |
provisional_bill_idrequired | string | Provisional Bill Id |
rationalerequired | string | Rationale |
versionrequired | string | Version |
vendor_payments | array | Vendor Payments |
Cards and funds
ramp_activate_cardActivate a card by its last four digits.
Parameters and full description
Activate a card by its last four digits. Activates an unactivated card for the user. If the card is a physical card awaiting delivery confirmation, call this tool first without confirm_delivery to detect the state, then call again with confirm_delivery=True after the user confirms the physical card has arrived.
| Parameter | Type | Description |
|---|---|---|
last_fourrequired | string | Last Four |
rationalerequired | string | Rationale |
confirm_delivery | boolean | Confirm Delivery |
ramp_get_fundsRetrieve funds (cards or budgets) and their balances, restrictions, locks, owners,
Parameters and full description
Retrieve funds (cards or budgets) and their balances, restrictions, locks, owners, or permitted spend. For a named person's funds, resolve their UUID with GetOrgChart and pass user_uuids. For the current user's funds, use MY_FUNDS. Search by fund name with search_by_fund_display_name or look up a known UUID with fund_uuid. When balance_info is returned, treat its remaining balance as authoritative for cleared charges and pending authorizations. Do not subtract those amounts again. Never infer that a booking is included merely because it is confirmed: a postpaid booking with no charge or pending authorization is a future charge and has not yet reduced the remaining balance.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
agent_card_eligible | boolean | null | Agent Card Eligible |
cursor | string | null | Cursor |
for_transaction_id | string | null | For Transaction Id |
fund_uuid | string | null | Fund Uuid |
funds_to_retrieve | string | null | Scope of funds to retrieve. Use MY_FUNDS ONLY when the user explicitly asks about 'my funds'. Use ALL_FUNDS for general searches (e.g., searching by fund name) or when no specific owner is mentioned. NEVER use this parameter when the user mentions a specific person - use user_uuids instead. |
include_balance | boolean | Include Balance |
include_lock_info | boolean | Include Lock Info |
include_members | boolean | Include Members |
include_restrictions | boolean | Include Restrictions |
is_shared | boolean | null | Is Shared |
page_size | integer | Page Size |
search_by_fund_display_name | string | null | Search By Fund Display Name |
spend_intent_uuids | array | null | Spend Intent Uuids |
state | string | null | Filter funds by state. Use ACTIVE to show only active funds, TERMINATED for terminated funds, or ARCHIVED for archived funds. If not provided, returns funds in all states. |
user_uuids | array | null | User Uuids |
ramp_issue_one_off_fundsIssue one-off funds (spend allocations) directly, bypassing approval flows.
Parameters and full description
Issue one-off funds (spend allocations) directly, bypassing approval flows. Use this tool when an admin wants to create new funds for one or more users with a specific amount, interval, and optional restrictions. This creates virtual-card-only spend allocations outside of spend programs. The acting user must have the SPEND_ISSUE_SPEND_BYPASS_APPROVAL permission.
| Parameter | Type | Description |
|---|---|---|
amountrequired | string | Amount |
display_namerequired | string | Display Name |
rationalerequired | string | Rationale |
user_idsrequired | array | User Ids |
categories_blacklist | array | null | Categories Blacklist |
categories_whitelist | array | null | Categories Whitelist |
default_member_limit_amount | string | null | Default Member Limit Amount |
department_ids | array | null | Department Ids |
dynamic_user_group_ids | array | null | Dynamic User Group Ids |
interval | string | Interval |
is_shareable | boolean | Is Shareable |
location_ids | array | null | Location Ids |
lock_date | string | null | Lock Date |
member_ids | array | null | Member Ids |
user_custom_field_ids | array | null | User Custom Field Ids |
vendor_blacklist | array | null | Vendor Blacklist |
vendor_whitelist | array | null | Vendor Whitelist |
ramp_limit_increaseIncrease the spending limit on a fund (spend allocation) or card. Supports temporary (resets at the next interval) and permanent increases.
Parameters and full description
Increase the spending limit on a fund (spend allocation) or card. Supports temporary (resets at the next interval) and permanent increases. Call only when the user's current message clearly requests an increase for the specific fund or card and specifies temporary or permanent. A declined transaction, budget question, or currency correction is not authorization to increase a limit. Do not infer or default the increase type.
| Parameter | Type | Description |
|---|---|---|
amountrequired | number | string | Amount |
rationalerequired | string | Rationale |
action | string | Action |
card_id | string | null | Card Id |
increase_type | string | Increase Type |
spend_allocation_id | string | null | Spend Allocation Id |
user_confirmed_increase_type | boolean | User Confirmed Increase Type |
user_confirmed_limit_increase | boolean | User Confirmed Limit Increase |
ramp_list_cardsList non-terminated cards for the current user or a visible target cardholder, including activation status, lock state, and shipping metadata.
Parameters and full description
List non-terminated cards for the current user or a visible target cardholder, including activation status, lock state, and shipping metadata. IMPORTANT: For the current user's unlock request, call this tool first to check spendability and locks. If cardholder_user_uuid targets another user, never open the acting user's feed. For locks, follow remediation_action. Use LockOrUnlockCard only when can_lock_or_unlock=true. GET_ATTENTION_FEED means resolve the task there, not through LockOrUnlockCard; re-list until blocking_task_count=0 and is_spendable=true. Do not use GetUserFunds for card unlock requests; funds and cards are different.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
cardholder_user_uuid | string | null | Optional user UUID for the cardholder whose cards should be listed. Provide this when an admin or manager asks about another employee's cards. Omit it to list the acting user's own cards. |
ramp_lock_or_unlock_cardLock or unlock a card the acting user is authorized to manage. Locking prevents all transactions on it until unlocked.
Parameters and full description
Lock or unlock a card the acting user is authorized to manage. Locking prevents all transactions on it until unlocked. Lock only when the user's current message clearly requests locking the specific card. Do not infer a lock request from suspicious activity. Unlocking does not require additional confirmation. If this returns FraudLockDetected, use UnlockFraudLockedCard instead.
| Parameter | Type | Description |
|---|---|---|
actionrequired | string | Action |
idrequired | string | Id |
rationalerequired | string | Rationale |
ramp_lock_or_unlock_spend_allocationLock or unlock a fund (spend allocation) at the fund level, affecting all members.
Parameters and full description
Lock or unlock a fund (spend allocation) at the fund level, affecting all members. Lock only when the user's current message clearly requests locking the specific fund. Do not infer a fund lock from a declined transaction or budget discussion. Unlocking does not require additional confirmation.
| Parameter | Type | Description |
|---|---|---|
actionrequired | string | Action |
idrequired | string | Id |
rationalerequired | string | Rationale |
ramp_lock_or_unlock_spend_allocation_memberLock or unlock a specific member's access to a fund (spend allocation).
Parameters and full description
Lock or unlock a specific member's access to a fund (spend allocation). Lock only when the user's current message clearly requests locking the specific member's access to the specific fund. Do not infer a member lock from a declined transaction or suspicious activity. Unlocking does not require additional confirmation. If this returns FraudLockDetected, use UnlockFraudLockedCard instead.
| Parameter | Type | Description |
|---|---|---|
actionrequired | string | Action |
idrequired | string | Id |
member_idrequired | string | Member Id |
rationalerequired | string | Rationale |
ramp_unlock_fraud_locked_cardUnlock a card that was locked due to a suspicious transaction. Requires the user to confirm they recognize the flagged transaction.
Parameters and full description
Unlock a card that was locked due to a suspicious transaction. Requires the user to confirm they recognize the flagged transaction.
| Parameter | Type | Description |
|---|---|---|
idrequired | string | Id |
rationalerequired | string | Rationale |
user_confirmed_fraud_whitelist | boolean | User Confirmed Fraud Whitelist |
ramp_update_category_restrictionsUpdate spending category restrictions (whitelist or blacklist) on a single fund. Manages spend types (e.g., Restaurants, Travel), not individual merchants.
Parameters and full description
Update spending category restrictions (whitelist or blacklist) on a single fund. Manages spend types (e.g., Restaurants, Travel), not individual merchants.
| Parameter | Type | Description |
|---|---|---|
actionrequired | string | The action to perform: 'add_to_whitelist' (restrict to only these categories), 'remove_from_whitelist', 'add_to_blacklist' (block these categories), or 'remove_from_blacklist'. |
category_idsrequired | array | Category Ids |
rationalerequired | string | Rationale |
spend_allocation_idrequired | string | Spend Allocation Id |
ramp_update_merchant_restrictionsUpdate merchant restrictions (whitelist or blacklist) on a fund (spend allocation).
Parameters and full description
Update merchant restrictions (whitelist or blacklist) on a fund (spend allocation). - Add or remove merchants from the allowed merchants list (whitelist) - Add or remove merchants from the blocked merchants list (blacklist) Use this when a user wants to: - Allow specific merchants on a fund (add to whitelist) - Block specific merchants on a fund (add to blacklist) - Remove merchants from the allowed or blocked lists
| Parameter | Type | Description |
|---|---|---|
actionrequired | string | Whether to add or remove merchants from the list. |
merchant_uuidsrequired | array | Merchant Uuids |
rationalerequired | string | Rationale |
restriction_typerequired | string | Whether to modify the allowed merchants (whitelist) or blocked merchants (blacklist). |
spend_allocation_idrequired | string | Spend Allocation Id |
Other
ramp_get_bookingsRetrieve flight, hotel, and car rental booking summaries for the user. Returns confirmed bookings and pending requests, with unsuccessful requests available via include_failed; check the status field and call GetBookingDetails for one entry's detailed state.
Parameters and full description
Retrieve flight, hotel, and car rental booking summaries for the user. Returns confirmed bookings and pending requests, with unsuccessful requests available via include_failed; check the status field and call GetBookingDetails for one entry's detailed state.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
include_cars | boolean | Include Cars |
include_failed | boolean | Include Failed |
include_flights | boolean | Include Flights |
include_hotels | boolean | Include Hotels |
include_past | boolean | Include Past |
limit | integer | Limit |
traveler_user_id | string | null | Traveler User Id |
verification_mode | boolean | Verification Mode |
ramp_get_decline_explanationGet a detailed explanation of why a card transaction was declined. Returns the reason, remediation actions, user notification, and transaction details. Only valid for already-declined transactions.
Parameters and full description
Get a detailed explanation of why a card transaction was declined. Returns the reason, remediation actions, user notification, and transaction details. Only valid for already-declined transactions.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
transaction_uuidrequired | string | Transaction Uuid |
ramp_get_office_locationsRetrieve the company's office locations and addresses. Use this to find office addresses when searching for hotels near an office or determining travel destinations.
Parameters and full description
Retrieve the company's office locations and addresses. Use this to find office addresses when searching for hotels near an office or determining travel destinations. The two shapes are complementary: ``office_locations`` has coordinates but no street address, and ``company_address`` has a street address but no coordinates.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
ramp_get_user_tripsFetch trips for the acting user with optional filters.
Parameters and full description
Fetch trips for the acting user with optional filters.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
cursor | string | null | Cursor |
page_size | integer | null | Page Size |
status | string | null | Status |
ramp_listList merchants
Parameters and full description
List merchants
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Why this MCP tool call is needed. |
merchant_name | string | null | Filter merchants by a case-sensitive display name prefix. |
merchant_url | string | null | Filter merchants by URL or domain after normalization. |
page_size | integer | null | The number of results to be returned in each page. The value must be between 2 and 100. If not specified, the default value 20 will be used. |
start | string | null | The ID of the last entity of the previous page, used for pagination to get the next page. |
transaction_from_date | string | null | Filter merchants by transactions occurring (`user_transaction_time`) on or after this date |
transaction_to_date | string | null | Filter merchants by transactions occurring (`user_transaction_time`) on or before this date |
ramp_search_flightsSearch for flights and return policy-tagged offers ready to quote. Before first use in a conversation, load and follow the ramp-book-flight skill when available.
Parameters and full description
Search for flights and return policy-tagged offers ready to quote. Before first use in a conversation, load and follow the ramp-book-flight skill when available. Tell the tool what to search (route + dates), or give it a job_id - never both. The default call blocks for ranked, policy-tagged offers; set wait_for_results=false only to start asynchronously and receive a job_id immediately instead, then use the same job_id on a later call to retrieve the final results. A call with job_id reads cached results and never starts another provider search. Use job_id alone to read the first page, add cursor to read the next page, add preferences to change the filtered or ranked view, or add sort_key to change its order; omit cursor when making either change so the new view starts at its first page. For a round trip, start the search with return_date. The first response contains OUTBOUND offers with is_round_trip=true and round-trip totals. Choose an outbound offer, then call with its job_id and outbound_offer_id to get matching RETURN offers. The chosen return offer's id identifies the complete outbound-and-return itinerary for booking. To filter return offers (e.g. by airline), pass the same job_id and outbound_offer_id with the new preference - do not start a new search, which discards the selected outbound flight and reruns the entire provider query. A completed outbound response includes web_search_url for the cached search in Ramp Travel. Fare options are nested under their flight, and a nested fare option id can be selected for return offers. Search preferences are cabin_class, airlines, max_stops, only_split_tickets, preferred_departure_time_window, preferred_arrival_time_window, and avoid_red_eye_flights; omitted preferences retain their prior values, and applied_preferences reports what each response used. Do NOT use this tool to change, modify, cancel, or rebook an existing booking.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
airlines | array | null | Airlines |
arrival | string | null | Arrival |
avoid_red_eye_flights | boolean | null | Avoid Red Eye Flights |
cabin_class | string | array | null | Cabin Class |
clear_preferences | array | null | Clear Preferences |
cursor | string | null | Cursor |
departure | string | null | Departure |
departure_date | string | null | Departure Date |
include_fare_options | boolean | Include Fare Options |
job_id | string | null | Job Id |
limit | integer | Limit |
max_stops | integer | null | Max Stops |
only_split_tickets | boolean | null | Only Split Tickets |
outbound_offer_id | string | null | Outbound Offer Id |
preferred_arrival_time_window | string | null | Current-leg arrival time preference. Use only when the user asks for a broad window like morning, afternoon, or evening. On a round-trip outbound_offer_id read, this is cached and applied only to return offers. |
preferred_departure_time_window | string | null | Current-leg departure time preference. Use only when the user asks for a broad window like morning, afternoon, or evening. On a round-trip outbound_offer_id read, this is cached and applied only to return offers. |
requested_weekday | string | null | The weekday the traveler asked to depart, when they gave a relative day like 'Sunday' or 'next Friday'. Pass it whenever known; the search is rejected if departure_date does not fall on this weekday, catching date-resolution mistakes before results are shown. When the traveler gave only a relative day, ALWAYS confirm the resolved date with them using a server-formatted date string from the results (e.g. an offer's departure_date, 'Sun, Apr 5, 2026') exactly as returned; never pair a weekday with a date yourself. |
return_date | string | null | Return Date |
sort_key | string | null | Result ordering, same keys as the flight search UI/REST API (e.g. LOWEST_TOTAL_AMOUNT, SHORTEST_DURATION). Defaults to WEIGHTED_SCORE. On a job_id read, re-sorts the cached results; to page the re-sorted view, re-send the same sort_key with the returned next_cursor. |
traveler_user_id | string | null | Traveler User Id |
trip_id | string | null | Trip Id |
wait_for_results | boolean | Wait For Results |
ramp_search_merchantsSearch for merchants by name. Returns matching merchant IDs, UUIDs, names, categories, and domains.
Parameters and full description
Search for merchants by name. Returns matching merchant IDs, UUIDs, names, categories, and domains.
| Parameter | Type | Description |
|---|---|---|
queryrequired | string | Query |
rationalerequired | string | Rationale |
limit | integer | Limit |
People and organization
ramp_create_departmentCreate a new department in the company.
Parameters and full description
Create a new department in the company. Department names are unique within the business (case-insensitive). If a department with the requested name already exists, it is returned instead of creating a duplicate.
| Parameter | Type | Description |
|---|---|---|
department_namerequired | string | Department Name |
rationalerequired | string | Rationale |
ramp_departmentsList all departments in the company.
Parameters and full description
List all departments in the company. Returns the departments available in the user's business, which can be used as inputs to workflows that require department references. Each department includes organizational metadata: its owners (managers), active member count, and managing external firm, if any.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
name_filter | string | null | Name Filter |
ramp_get_org_chartGet org chart for a user, including reporting chain and direct reports.
Parameters and full description
Get org chart for a user, including reporting chain and direct reports. This tool provides comprehensive org chart visibility including: - The user's position in the organization - Their direct reports (team members) - Their reporting chain (managers up the hierarchy) Use this tool whenever the user asks anything about their manager, team, or direct reports.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
user_id | string | null | User Id |
ramp_get_simplified_user_detailGet the current user's details.
Parameters and full description
Get the current user's details. Returns multiple results for users that are part of multiple businesses. When authenticated via an agent key, also returns the active agent key identity.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
ramp_list_usersList and search users across the entire business.
Parameters and full description
List and search users across the entire business. Returns all users in the organization matching the given filters. Supports searching by name (partial match, case-insensitive), filtering by department or location, and pagination. Results include active and inactive users — check the is_inactive field to distinguish. Use department_ids or location_ids (lists of UUIDs from the departments or locations tools) to narrow results.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
department_ids | array | null | Department Ids |
location_ids | array | null | Location Ids |
name_search | string | null | Name Search |
page_cursor | string | null | Page Cursor |
page_size | integer | Page Size |
ramp_rename_departmentRename an existing department in the company.
Parameters and full description
Rename an existing department in the company. Department names must be unique within the business (case-insensitive).
| Parameter | Type | Description |
|---|---|---|
department_idrequired | string | Department Id |
department_namerequired | string | Department Name |
rationalerequired | string | Rationale |
ramp_search_userMatch a user name to a Ramp user in the context of a transaction, for adding as an attendee.
Parameters and full description
Match a user name to a Ramp user in the context of a transaction, for adding as an attendee. Returns users from the business ranked by relevance to the given transaction (recent attendees and teammates appear first). If no transaction ID is provided, the user's most recent transaction is used as context. The search is case-insensitive and matches partial names.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
searchrequired | string | Search |
transaction_id | string | null | Transaction Id |
Policy and support
ramp_answer_policy_questionGet an answer to a question about the expense policy or funds (amount, restrictions, etc).
Parameters and full description
Get an answer to a question about the expense policy or funds (amount, restrictions, etc). Use this tool when the user asks about expense policy rules, spending limits, fund restrictions, or whether certain purchases are allowed under company policy.
| Parameter | Type | Description |
|---|---|---|
questionrequired | string | Question |
rationalerequired | string | Rationale |
include_restrictions | boolean | Include Restrictions |
ramp_get_attention_feedReturn the authenticated user's homepage attention feed.
Parameters and full description
Return the authenticated user's homepage attention feed. Use this tool to see what needs the user's attention right now: pending approvals, missing receipts, overdue reviews, signatures, and similar action items that appear on the Ramp homepage. By default, the tool returns the default homepage sections with compact LIST-hydrated task rows. To fetch more from a section, pass that section's section_type and next_cursor back in sections. For own-card GET_ATTENTION_FEED remediation, use this as the canonical task feed. blocking_effects describes a task type's possible sanction, not proof that an item caused the active lock. Use browser_handoff for user action in Ramp. For an available CompleteTransactionRevision, inspect or edit the transaction and call it with a nonblank reason. Re-read both tools and continue relevant overdue tasks; success requires the task absent, blocking_task_count=0, and is_spendable=true. Pending verification is not an unlock.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
fanout_timeout_seconds | number | Fanout Timeout Seconds |
sections | array | null | Sections |
ramp_get_more_toolsReport a capability that is missing from the available Ramp tools.
Parameters and full description
Report a capability that is missing from the available Ramp tools. Use this when the user's request cannot be completed with the available Ramp tools. Describe the user's goal and the capability that would be needed.
| Parameter | Type | Description |
|---|---|---|
contextrequired | string | Context |
rationalerequired | string | Rationale |
ramp_policyPublish the active policy for a standalone Agent Wallet
Parameters and full description
Publish the active policy for a standalone Agent Wallet
| Parameter | Type | Description |
|---|---|---|
agent_idrequired | string | Standalone agent ID returned by the list agents tool. |
configurationsrequired | array | Configurations |
constraintsrequired | object | — |
policy_versionrequired | string | Policy Version |
rationalerequired | string | Why this MCP tool call is needed. |
schema_versionrequired | integer | Schema Version |
approval_mode | string | — |
approval_validity_seconds | integer | Approval Validity Seconds |
ramp_post_commentPost a comment on a Ramp object (transaction, bill, reimbursement, etc).
Parameters and full description
Post a comment on a Ramp object (transaction, bill, reimbursement, etc). If there is any ambiguity as to whether the user's message is meant to be posted to the thread, ask them for confirmation first: 'Do you want me to post that as a comment reply on your [XYZ] transaction/reimbursement/bill/etc?'. How can you determine if the user's message is meant to be a reply to a comment? - If the only other messages in the conversation history are notifications about comments or mentions in Ramp, that is a very strong signal that the user's most recent message is meant to be a reply to the comment thread. In this case, you may use this tool immediately to post the comment without confirmation. - If a recent assistant message is a notification about a comment or mention, that is a strong signal that the user's most recent message is meant to be a reply to that comment. Even if their reply seems irrelevant or unrelated to Ramp, you may ask "Would you like me to post that as a comment on your...?" - prefer asking the user instead of refusing to serve the request at all.
| Parameter | Type | Description |
|---|---|---|
messagerequired | string | Message |
ramp_object_typerequired | string | Type of the Ramp object. Valid options are: 'reimbursement', 'transaction', 'bill', 'card', 'spend_request', 'spend_intent', 'ticket', 'payee', 'booking_request', 'provisional_bill', or 'vendor_payment'. |
ramp_object_uuidrequired | string | Ramp Object Uuid |
rationalerequired | string | Rationale |
mention_user_uuids | array | null | Mention User Uuids |
ramp_search_help_center_snippetsTool for searching Ramp's help center documentation using RAG (Retrieval Augmented Generation).
Parameters and full description
Tool for searching Ramp's help center documentation using RAG (Retrieval Augmented Generation). This tool performs semantic search across help center articles using embeddings. Trusted business-scoped calls receive the complete matched articles; unscoped and external Developer API calls receive focused snippets. The tool: 1. Fetches relevant articles from the help center 2. Chunks articles into smaller semantic units 3. Uses embedding similarity to find the most relevant sections 4. Returns top K results with their source articles Some internal articles have no public URL (an empty ``url``). Never construct or guess a URL for those articles. IMPORTANT: If you have other tools that can actually perform the action a user is asking about, you should use those tools instead of or in addition to providing help center information. For example, if a user says "how can I upload a receipt", you should tell them they can upload a receipt in the chat directly, even if you also find a help center article that explains how to upload receipts in the web app. Use this tool when you need to: - Find specific information within help articles - Get concise, focused answers from documentation - Minimize token usage while maintaining relevance - Answer questions about Ramp products and features
| Parameter | Type | Description |
|---|---|---|
queryrequired | string | Query |
rationalerequired | string | Rationale |
query_variants | string | array | null | Query Variants |
top_k | integer | Top K |
Procurement and purchase orders
ramp_get_purchase_order_detailsGet comprehensive details about a specific purchase order.
Parameters and full description
Get comprehensive details about a specific purchase order. Use this with the exact purchase order UUID returned by SearchPurchaseOrders or supplied by page context. Never pass a purchase order number, placeholder, or guessed value.
| Parameter | Type | Description |
|---|---|---|
purchase_order_idrequired | string | Purchase Order Id |
rationalerequired | string | Rationale |
ramp_get_unified_request_detailsGet detailed information about a specific unified request the acting user can view.
Parameters and full description
Get detailed information about a specific unified request the acting user can view. Use this when the user asks for more detail about a specific spend request, purchase order, fund request, or other unified request - for example its current status, approval chain, comments, activity timeline, or agent-generated reports. This works both after SearchUnifiedRequests or GetRequestsToReview and for any other unified request the user can already access via page context, tagged objects, or a known unified_request_id.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
unified_request_idrequired | string | Unified Request Id |
ramp_procurement_requests_deleteDelete an abandoned procurement draft owned by the acting user.
Parameters and full description
Delete an abandoned procurement draft owned by the acting user.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
spend_request_uuidrequired | string | Draft spend request UUID returned by draft_procurement_request. |
ramp_procurement_requests_draftCreate or update a procurement draft and return the current visible form state.
Parameters and full description
Create or update a procurement draft and return the current visible form state.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
answers | array | null | Answers |
change_request_answers | array | null | Change Request Answers |
clear_change_request_field_ids | array | null | Clear Change Request Field Ids |
clear_field_ids | array | null | Clear Field Ids |
currency | string | null | ISO 4217 currency code, e.g. USD. |
existing_spend_request_uuid | string | null | The original approved purchase-order request's spend_request_uuid from unified request details; not the unified_request_id or purchase_order_id. Provide this when requesting a change to that purchase order. Mutually exclusive with spend_intent_uuid. |
internal_memo | string | null | Internal Memo |
line_items | array | null | Line Items |
request_name | string | null | Request Name |
request_virtual_card | boolean | null | Request Virtual Card |
spend_intent_uuid | string | null | Spend intent UUID returned by spend-intents. Provide this when starting a new procurement request. Mutually exclusive with existing_spend_request_uuid. |
spend_request_uuid | string | null | Draft spend request UUID returned by this tool. Provide this to continue editing a draft. |
ramp_procurement_requests_getRefresh and canonically revalidate a procurement draft's visible form state
Parameters and full description
Refresh and canonically revalidate a procurement draft's visible form state
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Value for rationale. |
spend_request_uuidrequired | string | Value for spend_request_uuid. |
ramp_procurement_spend_intentsList published procurement spend programs the agent can draft against.
Parameters and full description
List published procurement spend programs the agent can draft against.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
page_size | integer | Page Size |
query | string | null | Query |
ramp_procurement_submitSubmit a procurement draft after explicit user confirmation.
Parameters and full description
Submit a procurement draft after explicit user confirmation.
| Parameter | Type | Description |
|---|---|---|
confirmedrequired | boolean | Confirmed |
rationalerequired | string | Rationale |
spend_request_uuidrequired | string | Draft spend request UUID returned by draft. |
ramp_ramp_bulk_close_purchase_ordersClose one or more purchase orders with a specified reason.
Parameters and full description
Close one or more purchase orders with a specified reason. Use after confirming the user wants the listed POs closed. Purchase orders must not already be closed or archived. The user must have permission to close every purchase order in the request.
| Parameter | Type | Description |
|---|---|---|
close_reasonrequired | string | Close Reason |
purchase_order_uuidsrequired | array | Purchase Order Uuids |
rationalerequired | string | Rationale |
ramp_ramp_bulk_reopen_purchase_ordersReopen multiple closed purchase orders.
Parameters and full description
Reopen multiple closed purchase orders. Use only after confirming the user wants the listed POs reopened. This does not archive or delete POs; reopening restores each PO to its computed active lifecycle status when allowed. The user must have permission to reopen every purchase order in the request.
| Parameter | Type | Description |
|---|---|---|
purchase_order_uuidsrequired | array | Purchase Order Uuids |
rationalerequired | string | Rationale |
ramp_search_purchase_ordersSearch for purchase orders using structured purchase order filters.
Parameters and full description
Search for purchase orders using structured purchase order filters.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
filters | object | null | Compact purchase order filters. Use search for PO numbers, request names, or owner names; for vendor/payee queries, resolve the vendor first and pass payee_uuids. Then narrow by PO status, spend request status, owner, or approval queue when needed. |
limit | integer | Limit |
page_cursor | string | null | Page Cursor |
ramp_search_unified_requestsSearch for unified requests using free-text and structured request filters.
Parameters and full description
Search for unified requests using free-text and structured request filters. Use this to find existing purchase orders, fund requests, procurement requests, or approval-only requests by vendor, request name, owner, requester, status, type, exact request number, approval date, department, or whether they require action. Use GetRequestsToReview when the user is specifically asking what they need to approve right now. Use GetUnifiedRequestDetails once one request has been identified.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
filters | object | null | Compact filters for unified request search. Use filters.search for free text, request_numbers for exact REQ-* identifiers, payee_ids for an exact vendor match, and the other fields to narrow by category, status, type, approval date, department, owner, requester, or approval queue. |
limit | integer | Limit |
page_cursor | string | null | Page Cursor |
Reimbursements
ramp_cancel_reimbursement_paymentCancel the payment on a reimbursement that has been approved but not yet paid out.
Parameters and full description
Cancel the payment on a reimbursement that has been approved but not yet paid out.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
reimbursement_uuidrequired | string | null | Reimbursement Uuid |
notes | string | null | Notes |
ramp_create_reimbursement_from_receiptCreate a draft reimbursement from a receipt UUID. Pass amount/currency_code/transaction_date/merchant to skip OCR.
Parameters and full description
Create a draft reimbursement from a receipt UUID. Pass amount/currency_code/transaction_date/merchant to skip OCR.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
receipt_uuidrequired | string | Receipt Uuid |
amount | number | string | null | Amount |
currency_code | string | null | Currency Code |
merchant | string | null | Merchant |
transaction_date | string | null | Transaction Date |
ramp_delete_reimbursementDelete a reimbursement by UUID.
Parameters and full description
Delete a reimbursement by UUID. Deletion is permanent and only allowed for reimbursements the acting user is permitted to delete (their own drafts, or others' if they have write access). Reimbursements that have progressed too far in the payment lifecycle cannot be deleted; use CancelReimbursementPayment for approved-but-unpaid reimbursements.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
reimbursement_uuidrequired | string | null | Reimbursement Uuid |
ramp_duplicate_reimbursementDuplicate an existing reimbursement as a new draft.
Parameters and full description
Duplicate an existing reimbursement as a new draft.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
reimbursement_uuidrequired | string | null | Reimbursement Uuid |
ramp_edit_reimbursementEdit reimbursement fields (amount, currency, date, merchant, memo, funds, accounting categories, split line items, custom records, trip, attendees). Omitted fields stay unchanged; null/[] clear when editable.
Parameters and full description
Edit reimbursement fields (amount, currency, date, merchant, memo, funds, accounting categories, split line items, custom records, trip, attendees). Omitted fields stay unchanged; null/[] clear when editable.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
reimbursement_uuidrequired | string | null | Reimbursement Uuid |
accounting_split_request | object | null | Complete replacement for every split line on a draft. Omit for ordinary edits; null is treated as omitted and preserves existing split lines. A non-null payload must include every line with its amount, memo, and line-level tracking category selections. Required when changing the amount or currency of an existing split draft. |
amount | number | string | null | Amount |
attendee_user_uuids | array | null | Attendee User Uuids |
currency_code | string | null | Currency Code |
custom_record_values | array | null | Custom Record Values |
fund_uuid | string | null | Fund Uuid |
memo | string | null | Memo |
merchant_name | string | null | Merchant Name |
merchant_uuid | string | null | Merchant Uuid |
reimbursement_date | string | null | Reimbursement Date |
tracking_category_selections | array | null | Tracking Category Selections |
trip_uuid | string | null | Trip Uuid |
ramp_estimate_mileage_reimbursementEstimate the reimbursement amount for a given mileage distance based on the user's company rates.
Parameters and full description
Estimate the reimbursement amount for a given mileage distance based on the user's company rates.
| Parameter | Type | Description |
|---|---|---|
distancerequired | number | string | Distance |
rationalerequired | string | Rationale |
distance_units | string | The distance unit: MILES or KILOMETERS. Defaults to MILES. |
transaction_date | string | null | Transaction Date |
vehicle_mileage_class | string | null | The vehicle mileage class, required for some countries (e.g. France, Finland). |
ramp_estimate_per_diem_amountEstimate the per diem reimbursement amount for a trip given start/end dates and optional meal deductions.
Parameters and full description
Estimate the per diem reimbursement amount for a trip given start/end dates and optional meal deductions.
| Parameter | Type | Description |
|---|---|---|
end_daterequired | string | End Date |
rationalerequired | string | Rationale |
start_daterequired | string | Start Date |
day_data | array | null | Day Data |
deduct_weekends | boolean | null | Deduct Weekends |
meals_provided | boolean | null | Meals Provided |
trip_uuid | string | null | Trip Uuid |
ramp_get_outstanding_reimbursements_by_currencyGet approved and failed reimbursements that would be affected by a bank account currency change.
Parameters and full description
Get approved and failed reimbursements that would be affected by a bank account currency change.
| Parameter | Type | Description |
|---|---|---|
new_currencyrequired | string | New Currency |
rationalerequired | string | Rationale |
entity_uuid | string | null | Entity Uuid |
ramp_get_reimbursement_receiptsRetrieve receipts attached to a reimbursement.
Parameters and full description
Retrieve receipts attached to a reimbursement.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
reimbursement_uuidrequired | string | null | Reimbursement Uuid |
ramp_get_reimbursementsSearch and retrieve reimbursements with filters for users, text search,
Parameters and full description
Search and retrieve reimbursements with filters for users, text search, amount ranges, tags, date ranges, approval status, and policy assessments.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
from_date | string | null | From Date |
include_policy_assessment | boolean | Include Policy Assessment |
include_suggestions | boolean | Include Suggestions |
next_page_cursor | string | null | Next Page Cursor |
page_size | integer | Page Size |
reimbursement_uuids | array | null | Reimbursement Uuids |
reimbursements_to_retrieve | string | Which set of reimbursements to search: your own reimbursements, reimbursements awaiting your approval, or all reimbursements across the business |
search_string | string | null | Search String |
tags | array | null | Tags |
to_date | string | null | To Date |
ramp_get_user_recent_reimbursementsGet reimbursement history for the current user.
Parameters and full description
Get reimbursement history for the current user. `limit` takes precedence over `up_to_days` so if you want to get all reimbursements in a given time frame, do not specify `limit`. `include_rejected` controls whether to include rejected reimbursements in the results. By default, rejected reimbursements are excluded. `include_drafts` controls whether to include draft reimbursements in the results. By default, drafts are excluded. `use_submitted_date_ordering` controls the ordering of results. By default (False), results are ordered by transaction_date. Set to True to order by submitted_date instead. If the user did not ask for a specific number of reimbursements or a time frame, assume they want to see the latest 10 reimbursements. Read each amount from `amount_decimal`, which is already in `currency`'s major unit and needs no arithmetic. Ignore `amount_cents`; it is the same amount in minor units, kept only for backwards compatibility.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
include_drafts | boolean | Include Drafts |
include_rejected | boolean | Include Rejected |
limit | integer | null | Limit |
up_to_days | integer | Up To Days |
use_submitted_date_ordering | boolean | Use Submitted Date Ordering |
ramp_resubmit_reimbursementRevert a rejected reimbursement back to draft state so it can be edited and resubmitted.
Parameters and full description
Revert a rejected reimbursement back to draft state so it can be edited and resubmitted. This does NOT submit the reimbursement — it only moves it from REJECTED to DRAFT. After resubmitting, use EditReimbursement to make changes and SubmitReimbursement to submit again.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
reimbursement_uuidrequired | string | null | Reimbursement Uuid |
ramp_search_reimbursementsSearch reimbursements across a business, optionally filtering to a specific user's reimbursements.
Parameters and full description
Search reimbursements across a business, optionally filtering to a specific user's reimbursements.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
filters | object | null | Text-based filters to search by. Provide human-readable names for tracking categories, merchants, or spend allocations and they will be resolved to the correct IDs automatically. |
from_date | string | null | From Date |
next_page_cursor | string | null | Next Page Cursor |
page_size | integer | Page Size |
reimbursement_status | string | null | Filter by reimbursement status. |
search_string | string | null | Search String |
to_date | string | null | To Date |
user_id | integer | null | User Id |
ramp_search_user_reimbursementsSearch reimbursements with text-based filters and structured filters.
Parameters and full description
Search reimbursements with text-based filters and structured filters. Supports filtering by: - User name (e.g., 'John Smith') — resolved automatically, defaults to current user if not specified - Accounting coding selections (tracking categories) like Department, Cost Center, Class, GL Account - Merchant name, spend allocation name (resolved from text automatically) - Reimbursement status (DRAFT, PENDING, APPROVED, etc.) - Date range and text search The tool resolves text queries to internal IDs automatically via the search tag service. Results are scoped to the current user's business.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
filters | object | null | Text-based filters to search by. Provide human-readable names for tracking categories, merchants, or spend allocations and they will be resolved to the correct IDs automatically. |
from_date | string | null | From Date |
next_page_cursor | string | null | Next Page Cursor |
page_size | integer | Page Size |
reimbursement_status | string | null | Filter by reimbursement status. |
search_string | string | null | Search String |
to_date | string | null | To Date |
ramp_submit_reimbursementSubmit a draft out-of-pocket reimbursement for approval.
Parameters and full description
Submit a draft out-of-pocket reimbursement for approval. If the submission fails, the agent should follow up with the user based on the error returned from the endpoint. If it is due to outstanding missing items, the agent should recheck missing_items via the GetReimbursements tool and provide suggestions for the user. If only nonsupported missing items are present (trip, attendee, mileage_locations), the agent should provide the reimbursement_link URL as a clickable link in the response.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
reimbursement_uuidrequired | string | null | Reimbursement Uuid |
Transactions and expenses
ramp_complete_transaction_revisionComplete a revision-requested transaction as its cardholder.
Parameters and full description
Complete a revision-requested transaction as its cardholder. Use this after the cardholder has addressed the requested changes and explicitly asks to mark the transaction revision complete. The completion refreshes the corresponding task and starts Task Platform's sanction-lifting workflow.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
reasonrequired | string | Reason |
transaction_uuidrequired | string | UUID of the revision-requested transaction to complete. |
ramp_edit_transactionEdit a transaction field (memo, funds, accounting categories, trip, attendees). Returns the updated transaction, remaining missing items, and a transaction_link for fields the API cannot edit.
Parameters and full description
Edit a transaction field (memo, funds, accounting categories, trip, attendees). Returns the updated transaction, remaining missing items, and a transaction_link for fields the API cannot edit.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
transaction_uuidrequired | string | null | Transaction Uuid |
attendee_selections | object | null | Attendee selections: attendee_uuids (Ramp users; must be valid UUIDs, never integer IDs), non_ramp_attendees (external people), include_self_as_attendee (acting user is added automatically when include_self_as_attendee is True). This is an upsert - provide the complete set of attendees. Only provide this field when Attendees is in incomplete items, or when the user directly provides attendee values or asks to change attendees; a memo or business-purpose answer is not an attendee change by itself unless it directly identifies attendee names or an attendee change. |
fund_uuid | string | null | Fund Uuid |
memo | string | null | Memo |
tracking_category_selections | array | null | Tracking Category Selections |
trip_selection | object | null | Trip selection configuration. Provide a trip_uuid to assign/change the transaction. Set trip_uuid=None to detach a wrong trip while leaving the transaction eligible for another trip. Set mark_not_part_of_trip=True only when the transaction genuinely is not part of any trip. |
user_submitted_fields | array | null | User Submitted Fields |
ramp_get_candidate_trips_for_transactionFetch trips that could be relevant to the current transaction.
Parameters and full description
Fetch trips that could be relevant to the current transaction. Returns ongoing, upcoming, and recently completed trips for the acting user.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
ramp_get_full_transaction_metadataView all details, memos, funds, and receipts for a specific transaction.
Parameters and full description
View all details, memos, funds, and receipts for a specific transaction. Read the amount from `amount_decimal`, which is already in `currency`'s major unit and needs no arithmetic. Ignore `amount_cents`; it is the same amount in minor units, kept only for backwards compatibility.
| Parameter | Type | Description |
|---|---|---|
idrequired | string | null | Transaction id (from tool calls or metadata) |
rationalerequired | string | Rationale |
ramp_get_transaction_missing_itemsCheck what receipts, memos, or accounting items are missing from a specific transaction.
Parameters and full description
Check what receipts, memos, or accounting items are missing from a specific transaction.
| Parameter | Type | Description |
|---|---|---|
idrequired | string | null | Transaction id (based on metadata or tool calls). |
rationalerequired | string | Rationale |
ramp_get_transaction_suggested_memosGet AI-suggested memo/note options for a specific transaction.
Parameters and full description
Get AI-suggested memo/note options for a specific transaction.
| Parameter | Type | Description |
|---|---|---|
idrequired | string | null | The ID of the transaction to retrieve suggested memos for. |
rationalerequired | string | Rationale |
ramp_get_transactionsSearch and retrieve individual card transactions and workflow details for the user's business, including reconciliation dates (cleared_at, settlement_date, accounting_date, synced_at) and, via details_to_include_in_response=['submitted_items'], the selected accounting categories. Use analyst tools instead for aggregate spend analysis, totals, trends, or group-bys when analyst tools are available. Declined transactions are excluded by default; pass state='declined' to include them.
Parameters and full description
Search and retrieve individual card transactions and workflow details for the user's business, including reconciliation dates (cleared_at, settlement_date, accounting_date, synced_at) and, via details_to_include_in_response=['submitted_items'], the selected accounting categories. Use analyst tools instead for aggregate spend analysis, totals, trends, or group-bys when analyst tools are available. Declined transactions are excluded by default; pass state='declined' to include them.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
transactions_to_retrieverequired | string | Which set of transactions to search. |
details_to_include_in_response | array | null | Details To Include In Response |
filters | object | null | Structured filters by merchant, category, spend allocation, trip, or tracking category. |
from_date | string | null | From Date |
include_count | boolean | Include Count |
next_page_cursor | string | null | Next Page Cursor |
page_size | integer | Page Size |
reason_memo_merchant_or_user_name_text_search | string | null | Reason Memo Merchant Or User Name Text Search |
sort | object | null | Sort order. Defaults to transaction_date desc. |
state | string | null | Filter by state. Defaults to non-declined; set 'declined' for declined/failed, or 'all' for everything. |
to_date | string | null | To Date |
ramp_mark_transaction_missing_receiptFlag a transaction as having no receipt.
Parameters and full description
Flag a transaction as having no receipt. Should be called whenever the user says "OOPS" or if the user says something along the lines of "I did not receive a receipt ...". If the user already flagged the transaction as having no receipt, then you may need to call the ProvideNoReceiptReason tool.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
transaction_uuidrequired | string | null | Transaction Uuid |
ramp_merchant_categoriesList all available spend categories. Returns category IDs and names.
Parameters and full description
List all available spend categories. Returns category IDs and names.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
ramp_provide_no_receipt_reasonSubmit a reason explaining why a transaction has no receipt.
Parameters and full description
Submit a reason explaining why a transaction has no receipt.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
reasonrequired | string | Reason |
transaction_uuidrequired | string | null | Transaction Uuid |
ramp_request_transaction_repaymentRequest that a cardholder repay a transaction.
Parameters and full description
Request that a cardholder repay a transaction. This is the REVIEWER / APPROVER action: the acting user must be an approver or manager for the transaction, not the cardholder themselves. The tool marks the transaction as repayment-required and notifies the cardholder, who can then accept, reject, or complete repayment through their own flow. This tool does NOT execute payment (ACH, payroll, debit-card, etc.). It only creates the repayment request so the cardholder sees an actionable task. Use when a reviewer or manager says things like: - "Request repayment on this transaction" - "Mark this as needing repayment" - "Require the employee to pay back this charge" - "Flag this transaction for repayment" If the user is the cardholder wanting to repay their OWN transaction, use RepayTransaction instead — that tool provides the self-service repayment URL.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
reasonrequired | string | Reason |
thoughtsrequired | string | Thoughts |
transaction_idrequired | string | Transaction Id |
ramp_splitSplit a transaction into line items, or update an existing split
Parameters and full description
Split a transaction into line items, or update an existing split
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Why this MCP tool call is needed. |
transaction_idrequired | string | Value for transaction_id. |
ramp_update_transaction_amount_limitSet a fund's maximum amount for one transaction. Use this for decline action
Parameters and full description
Set a fund's maximum amount for one transaction. Use this for decline action INCREASE_TRANSACTION_AMOUNT_LIMIT or requests about a per-transaction, single-transaction, or max-expense limit. Use LimitIncrease for the period total. Set any positive value to raise or lower the cap. AP-card and bill-pay funds are unsupported. Provide exactly one of spend_allocation_id or card_id.
| Parameter | Type | Description |
|---|---|---|
new_transaction_amount_limitrequired | number | string | New Transaction Amount Limit |
rationalerequired | string | Rationale |
card_id | string | null | Card Id |
spend_allocation_id | string | null | Spend Allocation Id |
Travel
ramp_add_traveler_loyalty_programCompatibility route for callers that have not migrated to SetTravelerLoyaltyProgram.
Parameters and full description
Compatibility route for callers that have not migrated to SetTravelerLoyaltyProgram.
| Parameter | Type | Description |
|---|---|---|
loyalty_numberrequired | string | Loyalty Number |
program_namerequired | string | Program Name |
rationalerequired | string | Rationale |
ramp_create_tripCreate a new trip for the acting user.
Parameters and full description
Create a new trip for the acting user. Do not call this solely as a prerequisite for booking a flight or hotel; SubmitFlightBooking and SubmitHotelBooking automatically select or create a trip when trip_id is omitted. If the user explicitly asks to create a named trip in addition to booking, call this once and pass the returned trip_uuid as trip_id to every related SubmitFlightBooking and SubmitHotelBooking call.
| Parameter | Type | Description |
|---|---|---|
are_trip_dates_from_booking_receipt_or_user_inputrequired | boolean | Are Trip Dates From Booking Receipt Or User Input |
namerequired | string | Name |
rationalerequired | string | Rationale |
calendar_timezone | string | null | Calendar Timezone |
destinations | array | null | Destinations |
end_date | string | null | End Date |
start_date | string | null | Start Date |
trip_purpose | string | null | Trip Purpose |
ramp_get_booking_detailsGet itinerary, stay, or rental details plus request status, amount, payment timing, cancellation state, associated spend, error, and approval information for one result from GetBookings.
Parameters and full description
Get itinerary, stay, or rental details plus request status, amount, payment timing, cancellation state, associated spend, error, and approval information for one result from GetBookings.
| Parameter | Type | Description |
|---|---|---|
booking_idrequired | string | Booking Id |
rationalerequired | string | Rationale |
ramp_get_flight_booking_locationsResolves locations (airports/cities) available for booking a flight from user intent.
Parameters and full description
Resolves locations (airports/cities) available for booking a flight from user intent. Preserve the user's location wording in ``query``. When the user names a city or metro area such as "NYC", set ``location_type=city``. A returned city ``search_code`` searches all supported airports in that metro; do not ask the user to choose one airport when a city result is available. Call this before SearchFlights for every departure or arrival location that the user did not provide as an exact airport IATA code. If the results contain multiple plausible locations, present the choices and wait for the user to clarify; never choose a location on their behalf. Do not infer a location from profile data, an area code, or a broad description such as "somewhere warm." Returns locations where flights can be booked from or to, which may include: - Individual airports (e.g., JFK, SFO, LAX) - City groups with multiple airports (e.g., NYC includes JFK, LGA, EWR) - Major travel destinations with flight availability Pass a result's ``search_code`` straight into SearchFlights departure/arrival. Cities search every airport in the metro area; airports search just that airport.
| Parameter | Type | Description |
|---|---|---|
queryrequired | string | Query |
rationalerequired | string | Rationale |
limit | integer | Limit |
location_type | string | Location Type |
ramp_get_hotel_ratesFetch available room-rate options for one selected hotel from SearchHotels. Use this after the user picks a hotel from SearchHotels results and before booking. Every current room group and its rates for the stay are returned in all_rates; the returned rate.id values are the exact IDs to pass to SubmitHotelBooking. These rates are current options, not quotes - wait for the traveler to select one exact rate. When the result's all_rates_out_of_policy is true, every rate at this hotel is out of policy for the stay: tell the traveler, prefer offering an in-policy hotel from the SearchHotels results, and proceed with this hotel only if the traveler explicitly chooses to - booking will then require an oop_reason at SubmitHotelBooking.
Parameters and full description
Fetch available room-rate options for one selected hotel from SearchHotels. Use this after the user picks a hotel from SearchHotels results and before booking. Every current room group and its rates for the stay are returned in all_rates; the returned rate.id values are the exact IDs to pass to SubmitHotelBooking. These rates are current options, not quotes - wait for the traveler to select one exact rate. When the result's all_rates_out_of_policy is true, every rate at this hotel is out of policy for the stay: tell the traveler, prefer offering an in-policy hotel from the SearchHotels results, and proceed with this hotel only if the traveler explicitly chooses to - booking will then require an oop_reason at SubmitHotelBooking.
| Parameter | Type | Description |
|---|---|---|
check_in_daterequired | string | Check In Date |
check_out_daterequired | string | Check Out Date |
hotel_idrequired | string | Hotel Id |
rationalerequired | string | Rationale |
filters | object | null | Optional rate-level preferences from the traveler's saved or current-trip preferences. Rates meeting more preferences rank higher in recommended_rates, but best-available fallbacks are still returned when nothing matches (see each group's unmet_preferences); all_rates remains the complete selectable inventory. |
max_recommended_rates | integer | Max Recommended Rates |
num_adults | integer | Num Adults |
search_id | string | null | Search Id |
traveler_user_id | string | null | Traveler User Id |
ramp_get_traveler_profileRetrieve traveler profile information including name, email, phone, date of birth, gender, known traveler number (KTN/TSA), redress number, and loyalty programs.
Parameters and full description
Retrieve traveler profile information including name, email, phone, date of birth, gender, known traveler number (KTN/TSA), redress number, and loyalty programs. For delegated bookings, first resolve the traveler with GetAllReducedUsers/list-users, then pass that UUID as traveler_user_id. Omit traveler_user_id for self-booking.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
traveler_user_id | string | null | Traveler User Id |
ramp_list_traveler_loyalty_programsList saved loyalty programs from the user's traveler profile. Use this directly for loyalty-only list/show/check requests; do not call GetTravelerProfile first.
Parameters and full description
List saved loyalty programs from the user's traveler profile. Use this directly for loyalty-only list/show/check requests; do not call GetTravelerProfile first.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
ramp_remove_traveler_loyalty_programRemove a saved loyalty program from the user's traveler profile.
Parameters and full description
Remove a saved loyalty program from the user's traveler profile.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
traveler_loyalty_program_idrequired | string | Traveler Loyalty Program Id |
ramp_search_hotelSearch hotels using the canonical Ramp web inventory and policy flow. Before first use in a conversation, load and follow the ramp-book-hotel skill when available.
Parameters and full description
Search hotels using the canonical Ramp web inventory and policy flow. Before first use in a conversation, load and follow the ramp-book-hotel skill when available. Provide location_query (city, neighborhood, address, landmark, or office) plus check_in_date and check_out_date. API calls run synchronously by default and return ranked hotels - each with at most one summary rate - plus policy_summary, total_count, and web_search_url. Results are paginated from a cached result set: pass the returned next_cursor as cursor to fetch more hotels without triggering a new provider search; never construct or edit a cursor. Put chain requests in filters.chain_names and reserve hotel_name for one exact property; a specific hotel_name uses the targeted direct-hotel path. Passing wait_for_results=false explicitly opts into an asynchronous kickoff that returns status='searching' with a search_id to resume by passing that search_id on a later call. To book from these results, pass the selected hotel id to GetHotelRates, then the selected rate id to SubmitHotelBooking with the same traveler and stay dates.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
check_in_date | string | null | Check In Date |
check_out_date | string | null | Check Out Date |
cursor | string | null | Cursor |
filters | object | null | Optional filters applied to fresh or cached results. Put chain requests in filters.chain_names; do not pass a chain name as hotel_name. |
hotel_name | string | null | Hotel Name |
latitude | number | string | null | Latitude |
limit | integer | Limit |
location_query | string | null | Location Query |
longitude | number | string | null | Longitude |
num_adults | integer | Num Adults |
preferences | string | null | Preferences |
search_id | string | null | Search Id |
sort | object | null | Optional sort configuration that mirrors web static hotel search. |
traveler_user_id | string | null | Traveler User Id |
wait_for_results | boolean | null | Wait For Results |
ramp_set_traveler_loyalty_programSet one loyalty program on the user's traveler profile by program name and loyalty number.
Parameters and full description
Set one loyalty program on the user's traveler profile by program name and loyalty number. If it already exists, update its loyalty number. After success, continue the active workflow when it requires refreshed data; otherwise tell the user it is saved.
| Parameter | Type | Description |
|---|---|---|
loyalty_numberrequired | string | Loyalty Number |
program_namerequired | string | Program Name |
rationalerequired | string | Rationale |
ramp_submit_flight_bookingBook a selected flight offer.
Parameters and full description
Book a selected flight offer. Two-step flow: call without confirm for the authoritative preview (itinerary, price, in-policy status, and required approvals) without booking. When no fund is supplied, the preview uses the recommended eligible fund, if one exists, to determine required approvals. Then call with confirm=true and the previewed expected_total_amount (copied verbatim, digits and decimal point only, no currency symbol) only after a new, explicit user-authored response approves that latest preview. If the fare changes, preview the new total and obtain fresh approval before confirming. flight_offer_uuid is the literal id from search: the outbound flight for one-way, the return flight for round trips (it carries both legs), or a fare option's id to book that fare. On confirmation, pass exactly one funding choice: spend_allocation_id with an eligible fund UUID from the preview, or request_new_fund=true with reason set to the trip purpose. If the chosen flight is out of policy, you MUST collect an oop_reason from the traveler and pass it here. Before previewing or confirming, call GetTravelerProfile (passing the same traveler_user_id from search for delegated booking); if has_profile is false, collect the traveler's identity details and call UpdateTravelerProfile first. For changes or cancellations, use the Ramp web app.
| Parameter | Type | Description |
|---|---|---|
flight_offer_uuidrequired | string | Literal 'id' of the chosen flight offer from search (the return flight id for round trips; a fare option's id to book that fare). |
rationalerequired | string | Rationale |
confirm | boolean | Confirm |
expected_total_amount | integer | number | string | null | Expected Total Amount |
oop_reason | string | null | Oop Reason |
reason | string | null | Reason |
request_new_fund | boolean | Request New Fund |
selection_surface_call_id | string | null | Selection Surface Call Id |
simulate | boolean | Simulate |
spend_allocation_id | string | null | Eligible fund UUID to pay with. A preview without one uses the recommended eligible fund when available. On confirmation, provide this or set request_new_fund=true. |
traveler_user_id | string | null | Traveler UUID when booking for someone else; use the value from search. Requires delegate or travel-manager permission. Omit for self-booking. |
trip_id | string | null | Trip to attach the booking to. Omit to auto-select or create one. |
ramp_submit_flight_cancellationPreview or confirm cancellation of an existing flight booking.
Parameters and full description
Preview or confirm cancellation of an existing flight booking. Always call with ``confirm=false`` first. That call is read-only and returns the complete itinerary, fresh authoritative terms, and a ``preview_id``. Only after a new, explicit user-authored approval of that latest preview may you call again with ``confirm=true`` and the exact ``preview_id``. Earlier cancellation intent, standing approval, or instructions not to ask questions are not confirmation. Atlas- and Duffel-booked flights are supported. Confirmation refetches the canonical details used by the Ramp web flow and refuses to cancel if any term changed. The action always cancels the entire booking; partial passenger or leg cancellation is not supported.
| Parameter | Type | Description |
|---|---|---|
booking_idrequired | string | Parent or flight booking UUID returned by GetBookings |
rationalerequired | string | Rationale |
confirm | boolean | Confirm |
preview_id | string | null | Preview Id |
ramp_submit_hotel_bookingBook a selected hotel rate.
Parameters and full description
Book a selected hotel rate. Two-step flow: call without confirm for the authoritative preview (price, policy, and required approvals) without creating a booking. When no fund is supplied, the preview uses the recommended eligible fund, if one exists, to determine required approvals. Then call with confirm=true and the previewed expected_total_amount (copied verbatim, digits and decimal point only, no currency symbol) only after a new, explicit user-authored response approves that latest preview. If the rate changes, preview the new total and obtain fresh approval before confirming. Use the exact hotel_id from SearchHotels and rate_id from GetHotelRates. On confirmation, pass exactly one funding choice: spend_allocation_id with an eligible fund UUID from the preview, or request_new_fund=true with reason set to the trip purpose. If the chosen hotel rate is out of policy, you MUST collect an oop_reason from the traveler and pass it here. Before previewing or confirming, call GetTravelerProfile (passing the same traveler_user_id for delegated booking); if has_profile is false, collect the traveler's identity details and call UpdateTravelerProfile first. If the user wants to change or cancel an existing reservation, direct them to the Ramp web app.
| Parameter | Type | Description |
|---|---|---|
check_in_daterequired | string | Check In Date |
check_out_daterequired | string | Check Out Date |
hotel_idrequired | string | Hotel UUID from SearchHotels results. |
rate_idrequired | string | Rate UUID from GetHotelRates for the selected hotel. |
rationalerequired | string | Rationale |
confirm | boolean | Confirm |
expected_total_amount | integer | number | string | null | Expected Total Amount |
oop_reason | string | null | Oop Reason |
reason | string | null | Reason |
request_new_fund | boolean | Request New Fund |
selection_surface_call_id | string | null | Selection Surface Call Id |
spend_allocation_id | string | null | Eligible fund UUID to pay with. A preview without one uses the recommended eligible fund when available. On confirmation, provide this or set request_new_fund=true. |
traveler_user_id | string | null | Traveler UUID when booking for someone else. |
trip_id | string | null | Trip UUID to attach this booking to. Omit to auto-select or create. |
ramp_submit_hotel_cancellationPreview or confirm cancellation of an existing hotel booking.
Parameters and full description
Preview or confirm cancellation of an existing hotel booking. Always call with ``confirm=false`` first. That call is read-only and returns fresh authoritative terms plus a ``preview_id``. Only after a new, explicit user-authored approval of that latest preview may you call again with ``confirm=true`` and the exact ``preview_id``. Earlier cancellation intent, standing approval, or instructions not to ask questions are not confirmation. Confirmation refetches the canonical details and refuses to cancel if any material hotel cancellation term changed. This tool always cancels the entire hotel booking; use the flight cancellation tool for flights.
| Parameter | Type | Description |
|---|---|---|
booking_idrequired | string | Public parent booking UUID from GetBookings |
rationalerequired | string | Rationale |
confirm | boolean | Confirm |
preview_id | string | null | Preview Id |
ramp_update_traveler_loyalty_programCompatibility route for callers that still update a saved loyalty program by ID.
Parameters and full description
Compatibility route for callers that still update a saved loyalty program by ID.
| Parameter | Type | Description |
|---|---|---|
loyalty_numberrequired | string | Loyalty Number |
rationalerequired | string | Rationale |
traveler_loyalty_program_idrequired | string | Traveler Loyalty Program Id |
ramp_update_traveler_profileUpdate traveler identity and contact profile details. Never use for loyalty-only requests; use dedicated traveler loyalty program tools instead.
Parameters and full description
Update traveler identity and contact profile details. Never use for loyalty-only requests; use dedicated traveler loyalty program tools instead. For delegated bookings, first resolve the traveler with GetAllReducedUsers/list-users, then pass that UUID as traveler_user_id. Omit traveler_user_id for self-booking.
| Parameter | Type | Description |
|---|---|---|
rationalerequired | string | Rationale |
avoid_red_eye_flights | boolean | null | Avoid Red Eye Flights |
date_of_birth | string | null | Date Of Birth |
email | string | null | |
first_name | string | null | First Name |
home_airport_code | string | null | Home Airport Code |
id_gender | string | null | Id Gender |
known_traveler_number | string | null | Known Traveler Number |
last_name | string | null | Last Name |
loyalty_programs | array | null | Loyalty Programs |
max_stops | integer | null | Max Stops |
middle_name | string | null | Middle Name |
name_prefix | string | null | Name Prefix |
name_suffix | string | null | Name Suffix |
phone_country_code | string | null | Phone Country Code |
phone_number | string | null | Phone Number |
preferred_airlines | array | null | Preferred Airlines |
preferred_arrival_time_window | string | null | Preferred Arrival Time Window |
preferred_cabin_class | string | null | Preferred Cabin Class |
preferred_departure_time_window | string | null | Preferred Departure Time Window |
redress_number | string | null | Redress Number |
seat_preference | string | null | Seat Preference |
traveler_user_id | string | null | Traveler User Id |
For the product-level choice, see Connecting.