Get Attachment Info
get_attachment_infoRetrieves metadata for a Grist attachment by document ID and attachment ID, helping you identify file details before downloading or managing it.
Instructions
Obtient les métadonnées d'une pièce jointe.
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": {
"doc_id": "<doc_id>",
"attachment_id": "<attachment_id>"
},
"name": "get_attachment_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | L'ID du document | |
| attachment_id | Yes | L'ID de la pièce jointe |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||