Fill the form once per spreadsheet row
fill_batchFill one copy of a PDF form for every row of a spreadsheet. Fill a form for every row of a CSV (csv_text or csv_url, up to 1000 rows). mapping is {column: field_id}; omit it to use the suggested mapping. If mapping is omitted, suggest_mapping runs first and is billed as one context fill. Batches up to 50 rows finish before this returns; larger ones keep running, poll get_batch. Each row is billed as one fill. retention (ephemeral or account_default) is accepted but changes nothing: the form keeps the setting it was created with. Pass dry_run=true to rehearse this call without doing it: nothing is stored, charged or sent, and no AI is used. The answer says whether the real call would succeed or be refused, what it would cost, and what a rehearsal cannot check.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"form_id": "11111111-2222-3333-4444-555555555555",
"mapping": {
"Email": 2,
"Full Name": 1
},
"csv_text": "Full Name,Email\nGrace Hopper,grace@example.com\nAda Lovelace,ada@example.com\n"
},
"name": "fill_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv_url | No | ||
| dry_run | No | ||
| form_id | Yes | ||
| mapping | No | ||
| csv_text | No | ||
| retention | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||