create_checkout_url
CreateResult a checkout URL for a cart assigned to a current session
Arguments: None, but requires a cart to be present in the current session.
Returns:
checkoutURL - the URL to redirect the user to for checkout
errors - any errors encountered during the process (like, cart not found, etc.)
Flow:
Call 'manage_cart' with 'create_cart' operation to create a new cart.
Call this tool to create a checkout URL for the cart assigned to the current session.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_checkout_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | ||
| success | Yes | ||
| checkoutURL | No |