managers is the user’s whole reporting line, past stretches included, not
an addition to it: a manager the list leaves out stops managing the user over
those months. Read the user with get_user
first and send back every stretch to keep, or the ones missing from your list
are removed. Passing an empty list leaves the user reporting to no one.
Re-sending what is stored changes nothing, so the same call can be sent twice.
Only what actually changed comes back in attribution_changes, each row saying
whether it was created, moved or removed.
No statement is recalculated by this call: a calculation that depends on the
reporting line picks the change up the next time it runs.
The call is refused, and nothing is written, when:
- two rows cover the same month: a user reports to one manager at a time.
- the user is named as their own manager.
- the user is archived.
- a new stretch names an archived manager.
Qobra MCP agent.
Example arguments
Parameters
Body
Body