Agent: Save payment link
save_payment_link Save (or update) the external payment URL for one payment context.
Use when the user gives or corrects a link — e.g. "for child support
use https://childsupport.state.mn.us". Saving a label that already
exists (case-insensitive) UPDATES that link's URL.
Intended for URLs the user explicitly provided or confirmed, not
found, guessed, or constructed ones. https only; a bare domain like "chase.com" is normalized to
https://; javascript:/http:/IP-literal/credential-bearing URLs are
rejected.
Args:
label: The payment context name (max 100 chars), e.g. "child support".
url: The user-provided payment page URL (https).
Returns:
{"success": True, "created": bool, "payment_link": {...}} —
created is False when an existing label's URL was updated.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"label": "<label>",
"url": "<url>"
},
"name": "save_payment_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| label | Yes |