phabricator_file_info
Fetch file metadata (name, size, MIME type, download URI) using a file ID or PHID, then use the returned URI to download the file.
Instructions
Get metadata about a file (name, size, MIME type, URI). Use the returned URI to download. Provide at least one of id or phid. Uses file.info (the only Conduit method that returns download URIs).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "phabricator_file_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | File ID (provide this or phid) | |
| phid | No | File PHID (provide this or id) |