Upsert company reference
upsert_company_referenceRecord or update a reference. Pass reference_id to update. release_status defaults to freigabe_angefragt, never to freigegeben: a reference is not cleared just because nobody objected, and 'requested' is a separate state from 'yes' — a procedure demanding references with the bid cannot be built on a clearance that has not arrived.
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": "upsert_company_reference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| currency | No | ||
| period_to | No | ||
| company_id | No | ||
| client_name | No | ||
| description | No | ||
| period_from | No | ||
| contact_name | No | ||
| contact_role | No | ||
| document_url | No | ||
| reference_id | No | ||
| release_note | No | ||
| comparability | No | ||
| contact_email | No | ||
| contact_phone | No | ||
| contract_value | No | Net value. NULL always means NOT ESTABLISHED, never "no value": a project without a contract value in the narrow sense — a lump-sum grant — is recorded with basis bewilligung and the grant amount. That makes an empty field safe to report as a gap. | |
| release_status | No | ||
| client_is_public | No | Some procedures require public-sector clients. Unset counts as not public. | |
| release_checked_at | No | ||
| contract_value_basis | No | What the value refers to. Without it the number is half an answer: for CLARION 240,800 EUR is the grant AWARDED TO CONTECHT, of which 204,679 had been drawn, while the whole project is a multiple of that — three correct numbers under one field name, and in a reference list the wrong one is an unsupportable claim. | |
| contract_value_source | No | Where the figure is evidenced: grant decision, Grant Agreement, invoice. A local notes file is not an evidence location. |