List project files
list_project_filesRetrieve a Contractor Foreman project's files, newest first, with names, sizes, notes, tags, and expiring download links. Provide the project ID; call again for fresh links.
Instructions
Photos and documents on a project, with name, size and a download link.
Reads a Contractor Foreman project's Files tab, newest first: file name, title, whether it is an image, size, notes, tags, when it was added and a download link. The app signs the links and they expire about 30 days after the call (the expires parameter). Call again for fresh ones.
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": {
"project_id": "<project_id>"
},
"name": "list_project_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | The project's numeric id (list_projects). |