Dumpling AI Write PDF Metadata
37.5 credits/call
ae_dumplingai_write_pdf_metadata
Update or write custom metadata fields into PDF documents via URL or base64 input.
37.5 credits/call
Pricing
37.5 credits/call
| Condition | Charge |
|---|---|
| Each call | 37.5 credits/call |
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
files | array | Yes | Array of PDF URLs or base64-encoded PDF contents to update. | — |
metadata | object | Yes | Key-value metadata pairs to write into the PDF. | — |
inputMethod | enum (url | base64) | Yes | Indicates whether binary content is supplied via URL or base64-encoded string. | — |
Invocation example
Copy the request and explore its response example.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_dumplingai_write_pdf_metadata' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"files": [
"https://armypubs.army.mil/epubs/DR_pubs/DR_a/ARN39062-ATP_4-48-000-WEB-1.pdf",
"https://armypubs.army.mil/epubs/DR_pubs/DR_a/ARN43462-AR_735-5-000-WEB-1.pdf"
],
"inputMethod": "url",
"metadata": {}
}
}'Response exampleresponse.json
{
"url": "https://pub-1ff5a17124b34b658b5b75065b3a03e8.r2.dev/temp-13d06ea4-66c9-4f2c-9c97-3aa4c926704e.zip"
}
