Portrait identification
portrait_identifyIdentify characters in cropped portrait images by matching each image against known characters and returning ranked candidates, with a similarity threshold to flag unknown portraits.
Instructions
Identify which characters are in cropped portrait images.
Args: images: one entry per portrait — a file path, raw bytes as base64, or a data URI. top_k: candidates per portrait, 1-10. min_score: similarity floor below which the portrait counts as unknown, 0-1.
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": {
"images": "<images>"
},
"name": "portrait_identify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_k | No | ||
| images | Yes | ||
| min_score | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |