Remove DigitalOcean team member
Remove a member, or cancel a pending invite, from the current DigitalOcean team, identified by email. Finds their row, opens its row menu, and confirms the appropriate dialog: "Remove from team" for joined members (requires re-typing their email to confirm) or "Cancel invite" for pending invites (plain yes/no). Returns the removed email.
Input
email requiredEmail of the member or pending invite to remove.
Output
email requiredremoved requiredList DigitalOcean team members and roles
List the current DigitalOcean team's members and pending invites with their role, status (Joined/Pending) and sign-in method. No scoping arg — reads the signed-in team, matching list_invoices' convention for this host.
Invite DigitalOcean team member
Invite (create) a member on the current DigitalOcean team by email and role. Role is free-text matched against the team's basic roles (Owner, Member, Modifier, Biller, Billing Viewer, Resource Viewer) or a custom role name if the team has any. Owner cannot be assigned directly on invite, because DigitalOcean only allows promoting to Owner after the invitee joins as a non-Owner. Returns the invited email and requested role; the member starts as Pending until they accept.
List DigitalOcean invoices
List DigitalOcean billing history (invoices + payment receipts) for the signed-in team. Requires an authenticated cloud.digitalocean.com session. Returns count and, per entry, date, amount, type, description, a session-gated invoicePdfUrl and the raw receiptId/invoiceUuid/accountUrn. Notes: entries are whatever the team's billing history holds — a "Payment" receipt carries a receiptId with invoiceUuid null, while a true invoice is the other way round, so treat both id fields as nullable. invoicePdfUrl is only valid for the session that produced it, not a durable link.
