Available tools
PayPal's agent toolkit includes the following tools.
The list of tools that you see might be different from the following lists. Your token determines what tools you can see and use.
Catalog management
create_product
Create a new product in the PayPal catalog.
name(string, required): The name of the producttype(string, required, enum): The type of the product. Allowed values are['PHYSICAL', 'DIGITAL', 'SERVICE'].
Create a new product with the name '{product_name}' of type '{product_type}'.
list_product
List products from the PayPal catalog. Pagination options are available.
page(number, optional): The specific page number to retrieve. The default behavior is to go to the first page.page_size(number, optional): The maximum number of products to return per page. The default behavior is to use a system-defined limit.
List all products.
show_product_details
Show details of a specific product from the PayPal catalog.
product_id(string, required): The ID of the product to retrieve
Show the details for product id {product_id}.
Dispute management
list_disputes
Retrieve a summary of all disputes with optional filtering.
status (string, optional): Filter disputes by status, such as OPEN or RESOLVED
List all {status} disputes.
get_dispute
Retrieve detailed information about a specific dispute.
dispute_id (string): The unique identifier of the dispute
Get details for dispute {dispute_id}.
accept_dispute_claim
Accept a dispute claim, resolving it in favor of the buyer.
dispute_id (string): The unique identifier of the dispute
Accept the dispute with ID {dispute_id}.
Invoices
create_invoice
Create a new invoice in the PayPal system.
recipient_email: Email address of the invoice recipient
items: List of items or services to include in the invoice:
name(string): Name of the itemquantity(number): Quantity of the itemunit_price(number): Price per unit of the item
Create an invoice for {customer_email} including 2 hours of consulting at $150 per hour.
list_invoices
List invoices. Pagination and filtering options are available.
page (number, optional): Page number for pagination
page_size (number, optional): Number of invoices per page
status (string, optional): Filter invoices by status (such as SENT or PAID)
List all {status} invoices on page {page} with {page_size} invoices per page.
get_invoice
Retrieve details about a specific invoice.
invoice_id (string): The unique identifier of the invoice
What are the details of invoice {invoice_id}?
send_invoice
Send an existing invoice to the specified recipient.
invoice_id (string): The unique identifier of the invoice to be sent
Send invoice {invoice_id} to the client.
send_invoice_reminder
Send a reminder for an existing invoice.
invoice_id (string): The unique identifier of the invoice
Send a reminder for invoice {invoice_id}.
cancel_sent_invoice
Cancel a sent invoice.
invoice_id (string): The unique identifier of the invoice to cancel
Cancel the sent invoice {invoice_id}.
generate_invoice_qr_code
Generate a QR code for an invoice.
invoice_id (string): The unique identifier of the invoice
Generate a QR code for invoice {invoice_id}.
Payments
create_order
Create an order in the PayPal system based on provided details.
items (array): List of items to include in the order each item should have:
name(string): Name of the itemquantity(number): Quantity of the itemunit_price(number): Price per unit of the item
currency (string): Currency code (e.g., USD, EUR)
Place an order for {quantity} units of '{item_name}' at ${unit_price} each.
get_order
Retrieve the details of an order.
order_id (string): The unique identifier of the order
Get details for order {order_id}.
pay_order
Capture payment for an authorized order.
order_id (string): The unique identifier of the order to capture
Capture payment for order {order_id}.
Reporting and insights
list_transaction
List all transactions. Pagination and filtering options are available.
start_date (string, optional): The start date for filtering transactions. The default value is 31 days.
end_date (string, optional): The end date for filtering transactions
Get the list of my transactions for the last {days} days.
Shipment tracking
create_shipment_tracking
Create shipment tracking information for a PayPal transaction.
tracking_number (string, required): The tracking number for the shipment
transaction_id (string, required): The transaction ID associated with the shipment
carrier (string, required): The carrier handling the shipment, such as FEDEX or UPS
order_id: (string, optional): The order ID for the shipment
status: (string, optional, enum): The current status of the shipment. Allowed values are ['ON_HOLD', 'SHIPPED', 'DELIVERED', 'CANCELLED', 'LOCAL_PICKUP']. The default value is 'SHIPPED'.
Add tracking number '{tracking_number}' with carrier '{carrier}' to PayPal order ID {order_id}.
get_shipment_tracking
Get shipment tracking information for a specific shipment.
order_id (string, required): The order ID for the shipment
transaction_id (string, optional): The transaction ID associated with the shipment
Get the tracking number for PayPal order ID {order_id}.
Subscription management
cancel_subscription
Cancel an active subscription.
subscription_id (string, required): The ID of the subscription to cancel
Reason (string, optional): Cancellation reason
Cancel the subscription id {subscription_id}.
create_subscription
Create a new subscription.
plan_id (string, required): The ID of the subscription plan
Subscriber (array, optional): The subscriber request information:
name(string, optional): The name of the subscriberemail(string, optional): The email address of the subscriber
Create a subscription for plan id {plan_id} with subscriber name as {subscriber_name} with email address {subscriber_email}.
create_subscription_plan
Creates a new subscription plan.
product_id (string, required): The ID of the subscription plan
name (string, required): The plan name
billing_cycles (array, required): An array of billing cycles for trial billing and regular billing. A plan can have at most 2 trial cycles and only 1 regular cycle.
tenure_type(string, required): The type of billing cycle,[REGULAR|TRIAL]sequence(integer, required): The order in which to run this cycle among other billing cyclesfrequency(integer, required): The frequency details for this billing cycleinterval_unit(string, required): The interval at which the subscription is charged or billed:[DAY|WEEK|MONTH|YEAR]
payment_preferences (array, required): The payment preferences for a subscription
auto_bill_outstanding(boolean, optional): Indicator of whether to automatically bill the outstanding amount in the next billing cycle. The default value is true.
Create a {interval_unit} PayPal subscription plan for product '{product_name}' with billing cycle '{billing_cycle}', price '{price} {currency}'. Set trial period cycle to '{trial_period}'.
list_subscription_plans
List subscription plans.
product_id (number, optional): List the subscription plans for a specific product
page (number, optional): The specific page number to retrieve. The default behavior is to go to the first page.
page_size (number, optional): The maximum number of products to return for each page. The default behavior is to use a system-defined limit.
List all subscription plans.
show_subscription_details
Show details of a specific subscription.
subscription_id (string, required): The ID of the subscription to retrieve
Show the details for subscription id {subscription_id}.
show_subscription_plan_details
Show details of a specific subscription plan.
billing_plan_id (string, required): The ID of the subscription plan to retrieve
Show the details for plan id {billing_plan_id}.
Was this helpful?

