Update document teams
update-document-teamsAdds teams to and/or removes teams from a document.
Use this tool when:
A document should be assigned to one or more teams
A team assignment should be removed from a document
A document should be moved from one team to another (one
removeand oneaddaction)
Actions are applied on top of the document's current team assignments: teams not mentioned in team_actions keep their assignment. Each team may appear in at most one action per call. Adding an already-assigned team or removing a team that is not assigned has no effect. Use the list-account-teams tool to discover valid team UUIDs. Some accounts enforce team assignment, in which case the last remaining team cannot be removed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team_actions | Yes | Changes to apply to the document's team assignments. Teams not mentioned keep their current assignment | |
| document_uuid | Yes | UUID of the document whose teams to update. If you don't already have the document's UUID, use the list-documents tool to find it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL to open the document in fynk | |
| name | No | Name of the document | |
| uuid | No | Unique identifier for the document. Do not show to the user unless they ask for it | |
| stage | No | What stage the document is in currently | |
| teams | No | The teams the document is assigned to. | |
| _entity_type | No | Only relevant for tooling. Do not show to the user | |
| document_type | No | If present, indicates what kind of document this is. Absent when the document has no type assigned |