Detect Card Type
detect_card_typeIdentify the card network (Visa, Mastercard, American Express, etc.) from a card number's IIN/BIN prefix. Provide digits only to get the network type instantly.
Instructions
Identifies the card network (Visa, Mastercard, American Express, Discover, Diners Club, JCB) from the card number's IIN/BIN prefix. Accepts digits only (spaces/dashes should be stripped by the caller).
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": {
"cardNumber": "<cardNumber>"
},
"name": "detect_card_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cardNumber | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | Yes |