Cobot MCP by usefulapi
Read memberships, invoices and bookings; check members in and book resources in Cobot.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (1)
- LOWen cobot_get_resource_availability
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"cobot": {
"url": "https://cobot.usefulapi.io/mcp"
}
}
}Puntos de conexión remotos
https://cobot.usefulapi.io/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (29)
🟢cobot_get_current_user(include)
Get the signed-in Cobot user, and the spaces they administer or belong to. Use this first to find a space id. Cobot API: GET /user.
Esquema de entrada
{
"type": "object",
"properties": {
"include": {
"description": "Related data to include: adminOf and memberOf list the user's spaces; memberships lists their memberships.",
"type": "array",
"items": {
"type": "string",
"enum": [
"adminOf",
"memberOf",
"memberships"
]
}
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cobot_get_space(space_id)
Get one space by id. Cobot API: GET /spaces/{spaceId}.
Esquema de entrada
{
"type": "object",
"properties": {
"space_id": {
"type": "string",
"minLength": 1,
"description": "The Cobot space id (from cobot_get_current_user with include adminOf or memberOf)."
}
},
"required": [
"space_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cobot_get_space_subscription(space_id)
Get the space's Cobot subscription. Cobot API: GET /spaces/{spaceId}/subscription.
Esquema de entrada
{
"type": "object",
"properties": {
"space_id": {
"type": "string",
"minLength": 1,
"description": "The Cobot space id (from cobot_get_current_user with include adminOf or memberOf)."
}
},
"required": [
"space_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cobot_list_memberships(space_id, from, to)
List the space's memberships in a date range (admins only). Cobot API: GET /spaces/{spaceId}/memberships.
Esquema de entrada
{
"type": "object",
"properties": {
"space_id": {
"type": "string",
"minLength": 1,
"description": "The Cobot space id (from cobot_get_current_user with include adminOf or memberOf)."
},
"from": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "Start date, yyyy-mm-dd. Memberships canceled before this date are left out."
},
"to": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "End date, yyyy-mm-dd. Memberships confirmed after this date are left out."
}
},
"required": [
"space_id",
"from",
"to"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cobot_search_memberships(space_id, query, fields)
Search the space's current memberships by text (admins only), such as a name, company or email. Cobot API: GET /spaces/{spaceId}/memberships/search.
Esquema de entrada
{
"type": "object",
"properties": {
"space_id": {
"type": "string",
"minLength": 1,
"description": "The Cobot space id (from cobot_get_current_user with include adminOf or memberOf)."
},
"query": {
"type": "string",
"minLength": 1,
"description": "Text to search for."
},
"fields": {
"description": "Indexed fields to search, e.g. name, company, email. Default: all of them.",
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"space_id",
"query"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cobot_get_membership(membership_id)
Get one membership by id. Admins of the space and the member themselves can read it. Cobot API: GET /memberships/{id}.
Esquema de entrada
{
"type": "object",
"properties": {
"membership_id": {
"type": "string",
"minLength": 1,
"description": "Cobot id (from another tool's result)."
}
},
"required": [
"membership_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cobot_list_membership_plans(space_id, from, to)
List the plan history of a space in a date range: each membership's plans while it was active. Cobot API: GET /spaces/{spaceId}/membership_plans.
Esquema de entrada
{
"type": "object",
"properties": {
"space_id": {
"type": "string",
"minLength": 1,
"description": "The Cobot space id (from cobot_get_current_user with include adminOf or memberOf)."
},
"from": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "Start date, yyyy-mm-dd."
},
"to": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "End date, yyyy-mm-dd."
}
},
"required": [
"space_id",
"from",
"to"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cobot_list_teams(space_id, from, to)
List the teams of a space (admins only). Cobot API: GET /spaces/{spaceId}/teams.
Esquema de entrada
{
"type": "object",
"properties": {
"space_id": {
"type": "string",
"minLength": 1,
"description": "The Cobot space id (from cobot_get_current_user with include adminOf or memberOf)."
},
"from": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "Start date, yyyy-mm-dd (the API requires it)."
},
"to": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "End date, yyyy-mm-dd (the API requires it)."
}
},
"required": [
"space_id",
"from",
"to"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cobot_list_contacts(space_id)
List the contacts of a space (admins only). Cobot API: GET /spaces/{spaceId}/contacts.
Esquema de entrada
{
"type": "object",
"properties": {
"space_id": {
"type": "string",
"minLength": 1,
"description": "The Cobot space id (from cobot_get_current_user with include adminOf or memberOf)."
}
},
"required": [
"space_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cobot_search_contacts(space_id, query, sort)
Search the space's contacts by name, email, company or tag (admins only). Cobot API: GET /spaces/{spaceId}/contacts/search.
Esquema de entrada
{
"type": "object",
"properties": {
"space_id": {
"type": "string",
"minLength": 1,
"description": "The Cobot space id (from cobot_get_current_user with include adminOf or memberOf)."
},
"query": {
"type": "string",
"minLength": 1,
"description": "Text to search for."
},
"sort": {
"description": "Sort order the API accepts, e.g. name.",
"type": "string"
}
},
"required": [
"space_id",
"query"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cobot_get_contact(contact_id)
Get one contact by id (admins only). Cobot API: GET /contacts/{id}.
Esquema de entrada
{
"type": "object",
"properties": {
"contact_id": {
"type": "string",
"minLength": 1,
"description": "Cobot id (from another tool's result)."
}
},
"required": [
"contact_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cobot_list_invoices(space_id, membership_id, debitor_id, from, to, ...)
List the space's invoices, filtered by member, date range, date field or paid status (admins only). Cobot API: GET /spaces/{spaceId}/invoices.
Esquema de entrada
{
"type": "object",
"properties": {
"space_id": {
"type": "string",
"minLength": 1,
"description": "The Cobot space id (from cobot_get_current_user with include adminOf or memberOf)."
},
"membership_id": {
"description": "Only invoices of this membership.",
"type": "string"
},
"debitor_id": {
"description": "Only invoices of this debitor (membership or team).",
"type": "string"
},
"from": {
"description": "Start date, yyyy-mm-dd.",
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
"to": {
"description": "End date, yyyy-mm-dd.",
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
"date_field": {
"description": "Which date the from and to range checks.",
"type": "string",
"enum": [
"dueDate",
"invoiceDate",
"remindAt"
]
},
"paid_status": {
"description": "Only invoices with these paid states.",
"type": "array",
"items": {
"type": "string",
"enum": [
"unpaid",
"paid",
"writtenOff",
"pending"
]
}
}
},
"required": [
"space_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cobot_get_invoice(invoice_id)
Get one invoice by id (admins only). Cobot API: GET /invoices/{id}.
Esquema de entrada
{
"type": "object",
"properties": {
"invoice_id": {
"type": "string",
"minLength": 1,
"description": "Cobot id (from another tool's result)."
}
},
"required": [
"invoice_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cobot_list_products(space_id, scope)
List the products a space sells for bookings or external bookings. Cobot API: GET /spaces/{spaceId}/products.
Esquema de entrada
{
"type": "object",
"properties": {
"space_id": {
"type": "string",
"minLength": 1,
"description": "The Cobot space id (from cobot_get_current_user with include adminOf or memberOf)."
},
"scope": {
"description": "Only products for bookings or external bookings.",
"type": "array",
"items": {
"type": "string",
"enum": [
"bookings",
"externalBookings"
]
}
}
},
"required": [
"space_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cobot_list_resources(space_id, usage)
List the space's resources, filtered by usage. Cobot API: GET /spaces/{spaceId}/resources.
Esquema de entrada
{
"type": "object",
"properties": {
"space_id": {
"type": "string",
"minLength": 1,
"description": "The Cobot space id (from cobot_get_current_user with include adminOf or memberOf)."
},
"usage": {
"description": "Which resources to list. Default: the API's default.",
"type": "string",
"enum": [
"bookable",
"allocatable",
"all"
]
}
},
"required": [
"space_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cobot_get_resource_availability(resource_id, from, to)
Get when one resource is free in a time range. Cobot API: GET /resources/{id}/availability.
Esquema de entrada
{
"type": "object",
"properties": {
"resource_id": {
"type": "string",
"minLength": 1,
"description": "Cobot id (from another tool's result)."
},
"from": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"description": "Date-time in RFC 3339, e.g. 2026-11-25T09:00:00Z."
},
"to": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"description": "Date-time in RFC 3339, e.g. 2026-11-25T09:00:00Z."
}
},
"required": [
"resource_id",
"from",
"to"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cobot_list_bookings(space_id, from, to)
List the bookings of a space in a time range (admins and members). Cobot API: GET /spaces/{spaceId}/bookings.
Esquema de entrada
{
"type": "object",
"properties": {
"space_id": {
"type": "string",
"minLength": 1,
"description": "The Cobot space id (from cobot_get_current_user with include adminOf or memberOf)."
},
"from": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"description": "Date-time in RFC 3339, e.g. 2026-11-25T09:00:00Z."
},
"to": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"description": "Date-time in RFC 3339, e.g. 2026-11-25T09:00:00Z."
}
},
"required": [
"space_id",
"from",
"to"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cobot_get_booking(booking_id)
Get one booking by id. Cobot API: GET /bookings/{id}.
Esquema de entrada
{
"type": "object",
"properties": {
"booking_id": {
"type": "string",
"minLength": 1,
"description": "Cobot id (from another tool's result)."
}
},
"required": [
"booking_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cobot_list_events(space_id, from, to, published_state, tags, ...)
List a space's events in a time range, published and/or draft (drafts are admins only). Cobot API: GET /spaces/{spaceId}/events.
Esquema de entrada
{
"type": "object",
"properties": {
"space_id": {
"type": "string",
"minLength": 1,
"description": "The Cobot space id (from cobot_get_current_user with include adminOf or memberOf)."
},
"from": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"description": "Date-time in RFC 3339, e.g. 2026-11-25T09:00:00Z."
},
"to": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"description": "Date-time in RFC 3339, e.g. 2026-11-25T09:00:00Z."
},
"published_state": {
"minItems": 1,
"type": "array",
"items": {
"type": "string",
"enum": [
"published",
"draft"
]
},
"description": "Which events to list: published, draft, or both."
},
"tags": {
"description": "Only events with these tags.",
"type": "array",
"items": {
"type": "string"
}
},
"sort_order": {
"description": "Sort by start time.",
"type": "string",
"enum": [
"asc",
"desc"
]
}
},
"required": [
"space_id",
"from",
"to",
"published_state"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cobot_get_event(event_id)
Get one event by id. Cobot API: GET /events/{id}.
Esquema de entrada
{
"type": "object",
"properties": {
"event_id": {
"type": "string",
"minLength": 1,
"description": "Cobot id (from another tool's result)."
}
},
"required": [
"event_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cobot_list_event_attendances(event_id)
List who attends an event. Cobot API: GET /events/{id}/attendances.
Esquema de entrada
{
"type": "object",
"properties": {
"event_id": {
"type": "string",
"minLength": 1,
"description": "Cobot id (from another tool's result)."
}
},
"required": [
"event_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cobot_list_check_ins(membership_id, from, to)
List one membership's check-ins that start in a time range. Cobot API: GET /memberships/{membershipId}/check_ins.
Esquema de entrada
{
"type": "object",
"properties": {
"membership_id": {
"type": "string",
"minLength": 1,
"description": "Cobot id (from another tool's result)."
},
"from": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"description": "Date-time in RFC 3339, e.g. 2026-11-25T09:00:00Z."
},
"to": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"description": "Date-time in RFC 3339, e.g. 2026-11-25T09:00:00Z."
}
},
"required": [
"membership_id",
"from",
"to"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cobot_list_current_check_ins(space_id, check_in_token)
List the check-ins still valid for the membership that owns a check-in token (admins only). Cobot API: GET /spaces/{spaceId}/check_ins/current.
Esquema de entrada
{
"type": "object",
"properties": {
"space_id": {
"type": "string",
"minLength": 1,
"description": "The Cobot space id (from cobot_get_current_user with include adminOf or memberOf)."
},
"check_in_token": {
"type": "string",
"minLength": 1,
"description": "The member's check-in token (the value the member shows at the door)."
}
},
"required": [
"space_id",
"check_in_token"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cobot_list_booking_credits(membership_id)
List one membership's booking credits. Cobot API: GET /memberships/{membershipId}/booking_credits.
Esquema de entrada
{
"type": "object",
"properties": {
"membership_id": {
"type": "string",
"minLength": 1,
"description": "Cobot id (from another tool's result)."
}
},
"required": [
"membership_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cobot_list_drop_in_passes(space_id, valid_on_from, valid_on_to)
List the space's drop-in passes valid in a date range (admins only). Cobot API: GET /spaces/{spaceId}/drop_in_passes.
Esquema de entrada
{
"type": "object",
"properties": {
"space_id": {
"type": "string",
"minLength": 1,
"description": "The Cobot space id (from cobot_get_current_user with include adminOf or memberOf)."
},
"valid_on_from": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "Start date, yyyy-mm-dd."
},
"valid_on_to": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "End date, yyyy-mm-dd."
}
},
"required": [
"space_id",
"valid_on_from",
"valid_on_to"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴cobot_check_in_membership(space_id, check_in_token)
Check a member in at a space with their check-in token. Fails when the membership is paused or a rule blocks it. Cobot API: POST /check_ins.
Esquema de entrada
{
"type": "object",
"properties": {
"space_id": {
"type": "string",
"minLength": 1,
"description": "The Cobot space id (from cobot_get_current_user with include adminOf or memberOf)."
},
"check_in_token": {
"type": "string",
"minLength": 1,
"description": "The member's check-in token."
}
},
"required": [
"space_id",
"check_in_token"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴cobot_check_out_membership(check_in_id)
Check out a membership that is checked in at a space (admins only). Cobot API: PUT /check_ins/{id}/check_out.
Esquema de entrada
{
"type": "object",
"properties": {
"check_in_id": {
"type": "string",
"minLength": 1,
"description": "Cobot id (from another tool's result)."
}
},
"required": [
"check_in_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴cobot_book_resource_as_member(membership_id, resource_id, from, to, title, ...)
Book a resource for a membership. Creates a booking for the membership. Cobot API: POST /memberships/{membershipId}/bookings.
Esquema de entrada
{
"type": "object",
"properties": {
"membership_id": {
"type": "string",
"minLength": 1,
"description": "Cobot id (from another tool's result)."
},
"resource_id": {
"type": "string",
"minLength": 1,
"description": "Cobot id (from another tool's result)."
},
"from": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"description": "Date-time in RFC 3339, e.g. 2026-11-25T09:00:00Z."
},
"to": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"description": "Date-time in RFC 3339, e.g. 2026-11-25T09:00:00Z."
},
"title": {
"description": "Booking title.",
"type": "string",
"maxLength": 255
},
"comments": {
"description": "Notes for the space.",
"type": "string",
"maxLength": 2000
},
"units": {
"description": "How many units to book (e.g. seats). Default: the API's default.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"required": [
"membership_id",
"resource_id",
"from",
"to"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴cobot_create_issue(space_id, subject, message, private)
Open a help desk issue in a space (for a fault or request). Members open it as themselves; admins open it as the admin. Cobot API: POST /issues.
Esquema de entrada
{
"type": "object",
"properties": {
"space_id": {
"type": "string",
"minLength": 1,
"description": "The Cobot space id (from cobot_get_current_user with include adminOf or memberOf)."
},
"subject": {
"type": "string",
"minLength": 1,
"maxLength": 255,
"description": "Short subject line."
},
"message": {
"type": "string",
"minLength": 1,
"description": "Issue text."
},
"private": {
"description": "Keep the issue visible to admins only.",
"type": "boolean"
}
},
"required": [
"space_id",
"subject",
"message"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Comunidad
Evidencia