Attach, change or remove a document
hr_save_documentKeep a file from the file store on a person's record: give person and file_id, a category (contract, id, certificate, review, other), a title (default: the file's name) and expires_on for things like work permits and certificates (the daily digest mentions them 30 days ahead). With document_id, change its category, title or expiry, or take it off the record with remove: true. While attached, the file can't be deleted; removed, it stays in the store. Costs $0.01 per call; nothing if it fails.
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": "hr_save_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| person | No | The person_id, or their work email. | |
| remove | No | ||
| file_id | No | A file_id from the file store. | |
| category | No | ||
| expires_on | No | YYYY-MM-DD, or null to clear it. | |
| document_id | No |