generate_documents
Generate teacher verification documents (employment letter, teacher ID, teaching license) for any country. Provide teacher name, school, and position to create ready-to-use PNG files.
Instructions
Generate teacher verification documents (employment letter, teacher ID, teaching license).
Args: country: Country code from list_countries (e.g. 'us', 'uk'). first_name / last_name: The teacher's name. school_name: Exact or partial school name (matched against that country's school list). position: Teaching position/title. date_of_birth: Display date of birth string (shown on the teacher ID). gender: 'Random', 'Male', or 'Female' — selects which photo pool is used. document_types: Which documents to render. Omit for all. e.g. ['employment_letter', 'teacher_id']. output_dir: Where to save PNGs (relative to project root). Defaults to 'output'.
Returns: Dict with 'files' (absolute paths), 'count', and 'output_dir'.
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": {
"country": "<country>",
"first_name": "<first_name>",
"last_name": "<last_name>",
"school_name": "<school_name>",
"position": "<position>",
"date_of_birth": "<date_of_birth>"
},
"name": "generate_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gender | No | Random | |
| country | Yes | ||
| position | Yes | ||
| last_name | Yes | ||
| first_name | Yes | ||
| output_dir | No | ||
| school_name | Yes | ||
| date_of_birth | Yes | ||
| document_types | No |