create_public_photo
Attach a public photo to any Hudu record by providing the local file path, record type, and record ID.
Instructions
Upload a new public photo and attach it to a record. Provide the local file path to the image.
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": {
"file_path": "<file_path>",
"record_type": "<record_type>",
"record_id": "<record_id>"
},
"name": "create_public_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute local path to the image file to upload | |
| record_id | Yes | ID of the record to attach to | |
| record_type | Yes | Type of record to attach to (e.g. Asset, Company) |