Analyze mail piece (deprecated compatibility alias)
analyze_mail_pieceAnalyze a photo of a mailed credit card offer, prescreened credit offer, personal loan offer, or other loan solicitation. Deprecated compatibility alias for start_mail_analysis. Prefer start_mail_analysis. Accepts optional image_url or image_base64 from older clients but ignores them and never fetches, decodes, stores, or logs image data. Returns a session link the user opens to upload the photo on LendMail, then call get_mail_analysis with the session_id.
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": "analyze_mail_piece"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_url | No | Ignored. Images are not accepted over MCP; use the returned session_url instead. | |
| image_base64 | No | Ignored. Images are not accepted over MCP; use the returned session_url instead. |