Add measurement
addProjectMeasurementSaves a measurement or site-survey entry (Aufmaß: dimensions, areas, quantities) to a project. With source "photo" (values read from a photo, not given by the user) the entry is saved as an unconfirmed draft (status pending) that the user has to verify before it is used for billing.
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": {
"title": "<title>"
},
"name": "addProjectMeasurement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Additional notes | |
| unit | No | Unit like m2, m, lm, stk | |
| title | Yes | Short label for the measurement, e.g. "Wohnzimmerboden" | |
| value | No | Calculated numeric value, e.g. 21.32 | |
| source | No | "photo" if these values were estimated from an attached image rather than stated by the user; omit for manual dictation | |
| fileIds | No | IDs of project files (photos) this measurement was derived from, e.g. from a prior addProjectFileFromChat call | |
| formula | No | Formula used, e.g. "5.20 * 4.10" | |
| projectId | No | Numeric ID of the project | |
| dimensions | No | Object with dimensions, e.g. {"length": 5.2, "width": 4.1} | |
| surveyDate | No | Date of the survey (YYYY-MM-DD) | |
| projectName | No | Name of the project (used if projectId is not given) |