Aller au contenu

Tools · Support

MCP tools for the Support module (coworking): open a ticket with photos, list the queue and my tickets, triage, assign, resolve, internal note, cancel, reopen, photos and deadlines, plus the settings for who answers and the deadline per category, and inspection rounds (sectors, spots, OK or problem and each room's history).

Cet article n’a pas encore été traduit. Vous lisez la version en anglais.

The Support module through the assistant: the resident opens and follows tickets (with photos), the team triages the queue, answers, writes internal notes and resolves, and the admin configures who answers and the deadlines. The roles are those of the screen: the assistant never does more than the connected person would do.

Each tool carries a badge: Read-only changes nothing, Changes creates or changes something right away, and Asks to confirm only acts after your yes to a summary. See Money and confirmation.

In short

ToolWhat it doesMinimum roleType
get_support_space_settingsHow the space works: limits, deadlines and, for the team, who answersAnyRead-only
get_support_overviewThe queue in numbersModerator or financeRead-only
list_support_ticketsThe whole queue, with filters and deadlinesModerator or financeRead-only
list_my_support_ticketsYour ticketsAnyRead-only
get_support_ticketOne ticket with the conversation and the photosAny (the resident reads their own)Read-only
get_support_resource_open_countHow many open tickets an item hasAnyRead-only
create_support_ticketOpens a ticket, with photosAnyChanges
update_support_ticketTriage: status, priority, category, assignee, placeModerator or finance, and answering the categoryChanges
add_support_commentComments, or writes an internal noteAny (the note, only whoever answers)Changes
cancel_support_ticketCancels a ticketAny (the resident, their own)Asks to confirm
reopen_support_ticketReopens a ticketAny (the resident, their own resolved one)Changes
add_support_photoAttaches a photoAnyChanges
replace_support_photoSwaps one photo for anotherAnyChanges
remove_support_photoRemoves a photoAnyAsks to confirm
delete_support_commentDeletes a message from the conversationAdminAsks to confirm
delete_support_ticketDeletes a ticket and its photosAdminAsks to confirm
close_resource_for_ticketTakes the ticket's room out of use for a periodAdminAsks to confirm
reopen_resource_for_ticketPuts the room back in useAdminChanges
get_support_reportThe Support report for a periodModerator or financeRead-only
list_inspection_sectorsThe round sectors, with their spotsModerator or financeRead-only
create_inspection_sectorCreates a round sectorAdminChanges
update_inspection_sectorRenames or reorders a sectorAdminChanges
delete_inspection_sectorRemoves a sector and its spotsAdminAsks to confirm
create_inspection_spotAdds a spot to a sectorAdminChanges
update_inspection_spotEdits a spotAdminChanges
delete_inspection_spotRemoves a spotAdminAsks to confirm
list_inspection_roundsThe round historyModerator or financeRead-only
get_inspection_roundOne round, spot by spotModerator or financeRead-only
start_inspection_roundStarts or resumes a sector roundModerator (not finance)Changes
mark_inspection_spotMarks a spot OK or problem (a problem opens a ticket)Moderator (not finance)Changes
complete_inspection_roundCompletes the roundModerator (not finance)Changes
get_support_resource_historyThe maintenance history of a roomModerator or financeRead-only

By role, the owner and the admin see all 32; the moderator, 22; finance, 19; the member, 11. The team is the owner, the admin, the moderator and finance, but whoever answers (triage, assign, answer, write notes) is only whoever is in the category's selection; outside it, the API refuses with a translated 403 and the assistant tells you so. See Who answers.

The space is created with create_space and module: "support"; update_space changes only what you send.

The space settings

The support argument of create_space and update_space accepts (what you send is merged with what already exists):

FieldTypeDescription
allow_urgent_flagtrue or falseThe resident can tick "it is urgent" (becomes high priority). Default: yes
max_open_per_member0 to 1000Open tickets per resident; 0 = no limit. Default: 10
location_hinttext up to 200The hint for the "Place" field
default_assignee_idid or nullWho receives new tickets
respondersobjectWho answers: tags (tag names), group_ids, member_ids and by_category (each category's selection, which replaces the space's). Owner and admin always answer; with no selection, the whole team answers
sla.enabledtrue or falseTurns deadlines on. Default: yes
sla.business_hours{days, start, end}Days of the week (0 = Sunday to 6 = Saturday) and HH:MM times, in the community's time zone. Default: Mon to Fri, 09:00 to 18:00. No holidays
sla.categoriesper categoryfirst_response and resolution, each with value (whole number) and unit (hours or days). Default: 4 hours and 1 day

The categories are FACILITIES, CLEANING, EQUIPMENT, INTERNET, ACCESS, BILLING and OTHER; the kinds, MAINTENANCE and REQUEST; the statuses, OPEN, IN_PROGRESS, WAITING_REQUESTER, RESOLVED and CANCELED; the priorities, LOW, NORMAL, HIGH and URGENT.

get_support_space_settings

Read-only

How the space works. allowUrgentFlag, maxOpenPerMember, locationHint, hasBookings (whether resource_id can be used) and sla. The team also gets responders, defaultAssigneeId and canAnswerCategories (the categories you answer); the resident never gets responders. Role: any with access to the space.

ParameterTypeRequiredDescription
spaceid or linkYesThe Support space (list_spaces)

get_support_overview

Read-only

The queue in numbers: open, inProgress, waitingRequester, unassigned, mine, overdue (deadline passed, clock running) and total. Without space, it adds up all Support spaces. Role: moderator or finance.

ParameterTypeRequiredDescription
spaceid or linkNo

Ask like this: "How's the ticket queue?"

list_support_tickets

Read-only

The whole queue, by most recent activity or by priority. With deadlines on, each ticket carries sla (firstResponseDueAt, resolveDueAt, paused, and the readable dates in the community's time zone) and, for the team, sla.overdue. Each item says what you can do (canAnswer, canAssign...). The resident uses list_my_support_tickets. Role: moderator or finance.

ParameterTypeRequiredDescription
spaceid or linkNo
kind, status, priority, categoryvalues aboveNoOne value each
assignee_member_ididNoTickets of this assignee
unassignedtrue or falseNoUnassigned
minetrue or falseNoAssigned to you
overduetrue or falseNoDeadline passed and clock running (Waiting for a reply doesn't count)
due_todaytrue or falseNoThe next deadline falls today; only in spaces with deadlines
requester_member_ididNoTickets from this person
resource_ididNoTickets for this Bookings item
originREQUEST or ROUNDNoREQUEST: opened by a resident or by the team on someone's behalf; ROUND: opened on an inspection round
qtextNoNumber, #42 or part of the title
sortactivity or priorityNo
page, limitnumbersNoPagination (up to 100)

Ask like this: "Which tickets are overdue or due today?"

list_my_support_tickets

Read-only

The tickets you opened, most recent first. Role: any with access to the space.

ParameterTypeRequiredDescription
spaceid or linkNo
kind, status, priority, categoryvalues aboveNo
resource_ididNo
qtextNo
page, limitnumbersNo

get_support_ticket

Read-only

One ticket with its timeline: messages, change history, internal notes (team only) and photos as short-lived links. The resident reads their own; the team reads all of them, also outside the selection of who answers. Another person's ticket: 404. Role: any.

ParameterTypeRequiredDescription
ticket_ididYesFrom list_support_tickets or list_my_support_tickets

get_support_resource_open_count

Read-only

The duplicate notice. Only the number of open tickets for a room, desk or equipment from Bookings, with no title or author, to warn before opening one more. Role: any.

ParameterTypeRequiredDescription
resource_ididYesFrom list_booking_resources

create_support_ticket

Changes

Open a ticket, with photos. The team is notified through the email queue. Whoever answers the category can also set the priority and open it on behalf of a resident (requester_member_id): the resident gets an email, so the assistant first shows who will receive it. Above the space's open-ticket limit, 409; above 10 tickets opened per hour, 429. Repeating the call with the same client_request_id returns the same ticket. Role: any with access to the space.

ParameterTypeRequiredDescription
spaceid or linkYesThe Support space
kindMAINTENANCE or REQUESTYes
categorycategoryYes
titletextYesUp to 140 characters
descriptiontextYesUp to 10000
resource_ididNoRoom, desk or equipment (list_booking_resources)
location_texttextNoUp to 120 characters; works without an item
urgenttrue or falseNoBecomes high priority, if the space allows it
prioritypriorityNoOnly whoever answers
requester_member_ididNoOnly whoever answers: opens it on behalf of this resident
photoslistNoUp to 5, each with image_url or image_base64 (+ image_type)
client_request_idtextNoAvoids duplicates on a repeated tap

Ask like this: "Open a maintenance ticket: the projector in Room 3 won't turn on, here's the photo."

update_support_ticket

Changes

Triage. Only whoever answers the ticket's category; outside it, a translated 403. Send only what changes. message goes with RESOLVED or WAITING_REQUESTER as a public answer, and the resident gets an email; assigning notifies the assignee. RESOLVED and CANCELED only go back to OPEN. URGENT can only be set here. Every change goes into the conversation. Role: moderator or finance, and answering the category.

ParameterTypeRequiredDescription
ticket_ididYes
statusstatusNo
prioritypriorityNo
kind, categoryvaluesNoThe category can only change to one you also answer
assignee_member_idid or nullNoMust answer the category; null removes the assignee
resource_idid or nullNoThe Bookings item
location_texttext or nullNo
titletextNo
messagetextNoTogether with RESOLVED or WAITING_REQUESTER

Ask like this: "Assign ticket #42 to Pedro and resolve it saying we replaced the light bulb."

add_support_comment

Changes

Comment, with photos. The resident comments on their own (in Waiting for a reply it goes back to In progress; on a Resolved one, it reopens); whoever answers does too, and the resident gets an email (two replies within 10 minutes produce a single email). With internal: true it's an internal note: only whoever answers can write it, the resident never sees it, and it sends no email. Comments can't be edited. Role: any (the note, only whoever answers).

ParameterTypeRequiredDescription
ticket_ididYes
bodytextYesUp to 10000 characters
internaltrue or falseNoInternal note
photoslistNoUp to 5, as in create_support_ticket

Ask like this: "On ticket #42, add an internal note that the technician is coming on Thursday."

cancel_support_ticket

Asks to confirm

Cancel an open ticket. It becomes Canceled; nothing is deleted. The resident cancels their own while it isn't resolved; whoever answers the category can too (a duplicate, for example). Resolved or already canceled: 400. Role: any, within the limits above.

ParameterTypeRequiredDescription
ticket_ididYes

Returns: on the first call, the summary (number, title, status, resident) and the confirmation code.

reopen_support_ticket

Changes

Reopen. The resident reopens their own Resolved ticket, and the team is notified; whoever answers can also reopen a Canceled one. Any other status: 400. The resolution deadline starts over. Role: any, within the limits above.

ParameterTypeRequiredDescription
ticket_ididYes

add_support_photo

Changes

Attach a photo (JPEG, PNG or WebP, up to 50 MB), stored privately: only the resident and the team open it. Up to 20 per ticket (409 above that). The resident on their own; whoever answers on any. Role: any.

ParameterTypeRequiredDescription
ticket_ididYes
image_url or image_base64link or textYesThe image; image_base64 goes with image_type

replace_support_photo

Changes

Swap a photo. The new one is attached first; then the old one is removed and its file deleted. The resident swaps the photos from the opening and from their own comments; whoever answers, any of them. Role: any.

ParameterTypeRequiredDescription
ticket_ididYes
photo_ididYesFrom get_support_ticket
image_url or image_base64link or textYesThe new image

remove_support_photo

Asks to confirm

Remove a photo (the file is deleted for good). Whoever answers removes any of them; the resident, those from the opening and from their own comments. Role: any, within the limits above.

ParameterTypeRequiredDescription
ticket_ididYes
photo_ididYesFrom get_support_ticket

Returns: on the first call, the summary and the confirmation code.

delete_support_comment

Asks to confirm

Delete a message from the conversation, with its photos. History lines aren't deleted. Role: admin.

ParameterTypeRequiredDescription
ticket_ididYes
comment_ididYesFrom get_support_ticket

delete_support_ticket

Asks to confirm

Delete a ticket and its photos; nothing is anonymized or kept. To really close a ticket, use update_support_ticket (Resolved) or cancel_support_ticket. Role: admin.

ParameterTypeRequiredDescription
ticket_ididYes

Returns: on the first call, the summary (number, title, status, resident, photos) and the confirmation code.

close_resource_for_ticket

Asks for confirmation

Takes the room, desk or equipment linked to a ticket out of use for a period (a Bookings block linked to the ticket). With bookings in the period and cancel_bookings true, each one is canceled with a full credit refund, the person gets the email and the calendar invite is canceled; without cancel_bookings, nothing happens and the answer lists the bookings. Role: admin (owner or admin).

ParameterTypeRequiredDescription
ticket_ididYesA ticket with a Bookings room
starts_at, ends_atYYYY-MM-DDTHH:mmYesIn the community's local time; the end can't be in the past
reasontext up to 255NoGoes in the email to whoever loses a booking. Default: the ticket title
cancel_bookingstrue or falseNoCancels and refunds the bookings in the period; required when there are any

Returns: on the first call, the summary (room, period, affected bookings, credits to refund, the list of bookings) and the confirmation code. After the yes, the block created. The assistant then offers reopen_resource_for_ticket.

reopen_resource_for_ticket

Changes

Puts the room back in use: removes the block this ticket created and logs it in the history. Bookings already canceled don't come back. With no block from the ticket, it returns an error. It's offered when a resolved ticket brings the option to reopen the room. Role: admin (owner or admin).

ParameterTypeRequiredDescription
ticket_ididYes

get_support_report

Read only

The Support report for a period: totals and groups by category, assignee and room, each with opened and resolved in the period, open and overdue now, reopened, average first response and resolution time (in minutes) and the percentage on time. Role: team (moderator or finance).

ParameterTypeRequiredDescription
spaceid or linkNoWithout it, all Support spaces
from, toYYYY-MM-DDNoLocal dates, both included. Default: last 30 days; at most 366

Inspection rounds

The 13 tools of the inspection round, with the same roles as the Rounds tab: the owner and the admin set up sectors and spots; the owner, the admin and the moderator walk the round; the whole team, finance included, reads the rounds and a room's history; the member sees none. Only the deletions ask for confirmation.

In Claude, the ready-made Inspection round recipe (run_inspection_round) asks for the sector and, if you want, what you already found, and walks the round spot by spot until it's completed. It shows up for the owner, the admin and the moderator. See recipe 70.

list_inspection_sectors

Read-only

The sectors of a Support space, in order, each with its spots (Bookings resource or free place), openRound (the round in progress, if any) and lastCompletedAt. Role: moderator or finance.

ParameterTypeRequiredDescription
spaceid or linkYesThe Support space

create_inspection_sector

Changes

Creates a sector (a floor, a wing). Spots go in afterwards, with create_inspection_spot. Role: admin (owner or admin).

ParameterTypeRequiredDescription
spaceid or linkYesThe Support space
nametextYesUp to 120 characters
positionnumberNoThe order in the list

Ask like this: "Create the 2nd floor sector with Room 3, Room 4, the kitchen and the restroom."

update_inspection_sector

Changes

Renames or reorders a sector. Role: admin.

ParameterTypeRequiredDescription
sector_ididYesFrom list_inspection_sectors
nametextNoUp to 120 characters
positionnumberNo

delete_inspection_sector

Asks to confirm

Removes a sector and its spots. Past rounds and the tickets they opened stay in the history. A sector with a round in progress returns 409: complete the round first. The summary shows the sector and how many spots go. Role: admin.

ParameterTypeRequiredDescription
spaceid or linkYesThe Support space
sector_ididYes

create_inspection_spot

Changes

Adds a spot to the sector: a Bookings resource (resource_id, from list_booking_resources) or a free place (label, such as "Men's restroom"), at least one of them; with both, label is the name shown. The same resource can't be added twice to the sector. Each sector holds up to 200 spots. Role: admin.

ParameterTypeRequiredDescription
sector_ididYes
resource_ididNoRoom, desk or equipment from Bookings
labeltextNoUp to 120 characters
positionnumberNo

update_inspection_spot

Changes

Edits a spot: resource_id, label (null clears one of them; the spot must keep at least one) and position. Role: admin.

ParameterTypeRequiredDescription
spot_ididYesFrom list_inspection_sectors
resource_id, labelid, text or nullNo
positionnumberNo

delete_inspection_spot

Asks to confirm

Removes a spot from the sector. Rounds that already checked it keep the recorded name. Role: admin.

ParameterTypeRequiredDescription
spaceid or linkYesThe Support space
spot_ididYes

list_inspection_rounds

Read-only

The round history, newest first, without the list of spots: sector, status (IN_PROGRESS or COMPLETED), who started and who completed, when, and the counts (total, OK, problem, pending, unchecked). Role: moderator or finance.

ParameterTypeRequiredDescription
spaceid or linkNo
sector_ididNo
statusIN_PROGRESS or COMPLETEDNo
page, limitnumbersNoPagination (up to 100)

Ask like this: "Which rounds were walked this week and what was left pending?"

get_inspection_round

Read-only

One round, spot by spot. In progress, every spot of the sector in order, each with what was marked (OK or problem, description, the ticket opened, who marked it) or still unmarked; completed, what was recorded (unmarked spots become pending). canMark and canComplete say what you can do. Role: moderator or finance.

ParameterTypeRequiredDescription
round_ididYes

start_inspection_round

Changes

Starts a sector's round and records who started it and when. If the sector already has a round in progress, that one comes back, with alreadyStarted: true, instead of a new one. Role: moderator (finance doesn't walk rounds).

ParameterTypeRequiredDescription
sector_ididYes

mark_inspection_spot

Changes

Marks a spot of the round in progress as OK or PROBLEM. PROBLEM requires description, takes up to 5 photos, and opens a maintenance ticket right away (category FACILITIES, with the resource or the spot name as the location, you as the author and origin ROUND): the Support new ticket e-mails go out without confirmation, so the assistant warns you first. The answer carries the ticket number. These tickets don't count toward the opening limits. One person's rounds open up to 100 tickets in 24 hours; beyond that, the call is refused. Role: moderator (finance doesn't walk rounds).

ParameterTypeRequiredDescription
round_ididYes
spot_ididYesFrom get_inspection_round
statusOK or PROBLEMYes
descriptiontextWith PROBLEMUp to 10000
photoslistNoOnly with PROBLEM. Up to 5, each with image_url or image_base64 (+ image_type); private like Support photos

A spot that already opened a ticket is locked: PROBLEM again returns the same record without opening another ticket, and OK returns 409. An OK spot can become a problem. Completed round: 409.

Ask like this: "On the 2nd floor round, Room 3 is OK and the kitchen bulb is out; here's the photo."

complete_inspection_round

Changes

Completes the round: spots nobody marked become pending, and the round records who completed it and when. Already completed: 409. Next, the assistant offers the queue filtered by origin: ROUND. Role: moderator.

ParameterTypeRequiredDescription
round_ididYes

get_support_resource_history

Read-only

The maintenance history of a room, desk or equipment from Bookings: the rounds that checked it (sector, dates, what was marked, description, ticket and who checked) and the tickets linked to it (any origin), the 50 most recent of each, like the resource's History tab. It also works for a deleted resource. Role: moderator or finance.

ParameterTypeRequiredDescription
resource_ididYesFrom list_booking_resources

Ask like this: "What maintenance has Room 3 had?"