Create a petition PDF
create_petitionGenerates a correctly formatted Turkish petition as a PDF and returns its download link. Only call this after the user has provided and confirmed every value; never invent personal data. The body text must not contain the addressee, date, closing sentence or signature (added automatically). Remind the user to sign above their name after printing.
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": {
"first_name": "<first_name>",
"last_name": "<last_name>",
"address": "<address>",
"district": "<district>",
"city": "<city>",
"addressee": "<addressee>",
"body": "<body>"
},
"name": "create_petition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Petition text in Turkish, without placeholders. Separate paragraphs with a blank line. | |
| city | Yes | İl. | |
| date | No | Submission date, YYYY-MM-DD. Defaults to today (Türkiye time). | |
| No | Optional e-mail address. | ||
| phone | No | Optional phone number. | |
| address | Yes | Street address (mahalle, cadde/sokak, no). | |
| closing | No | 'geregini' = Gereğini saygılarımla arz ederim (default, requests); 'takdirlerinize' = Takdirlerinize arz ederim (leave/discretionary requests); 'bilgilerinize' = Bilgilerinize arz ederim (for information). | |
| district | Yes | İlçe. | |
| addressee | Yes | Institution in plain form ending in ı/i/u/ü, e.g. 'Atatürk Lisesi Müdürlüğü'. Check with preview_heading. | |
| last_name | Yes | Petitioner's surname. | |
| first_name | Yes | Petitioner's first name. | |
| attachments | No | Up to 5 attachment names, e.g. ['Nüfus cüzdanı fotokopisi']. |