Hent oppdragsstatus fra Revly
hent_oppdrag_tilstandHenter avgrenset oppdragsstatus og statusantall for én eksplisitt oppdrags-ID. Fritekst, klientmeldinger og jobbinnhold er utelatt.
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": {
"oppdrag_id": "<oppdrag_id>"
},
"name": "hent_oppdrag_tilstand"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| oppdrag_id | Yes | Eksplisitt oppdrags-ID fra Revly. Oppslag uten ID er ikke tillatt. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aar | No | Engagement year. | |
| fase | No | Engagement phase. | |
| klient | No | Client for this engagement. | |
| status | Yes | available for a visible engagement. | |
| sources | No | Sources that contributed to the result. | |
| activity | No | Bounded status counts. No free text or job content. | |
| budsjett | No | Budget and phase reservations. Null when nothing is registered. Missing figures are null, never a fake 0. | |
| evidence | No | ||
| revly_url | No | Link to the engagement in Revly. | |
| truncated | No | True when the result was cut short. | |
| oppdrag_id | No | Engagement ID, as text. | |
| operation_id | Yes | Revly operation ID for this read, recorded in the access log. | |
| oppdrag_status | No | Engagement status. | |
| missing_sources | No | Sources with no record. Missing data stays visible and is never treated as a positive result. |