{
  "service": "leexi",
  "displayName": "Leexi",
  "categories": [
    "Productivity",
    "Communication"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "Key Secret",
      "placeholder": "LEEXI_KEY_SECRET",
      "description": "Leexi Key Secret used together with your API Key ID through HTTP Basic Authentication. Generate both values in Leexi Settings > Company Settings > API Keys: https://app.leexi.ai/settings/api_keys",
      "extraFields": [
        {
          "key": "keyId",
          "label": "API Key ID",
          "inputType": "text",
          "required": true,
          "secret": false,
          "placeholder": "LEEXI_KEY_ID",
          "description": "Leexi API Key ID paired with the Key Secret for HTTP Basic Authentication. Copy it from Leexi Settings > Company Settings > API Keys: https://app.leexi.ai/settings/api_keys"
        }
      ]
    }
  ],
  "homepageUrl": "https://www.leexi.ai/",
  "actions": [
    {
      "id": "leexi.get_call",
      "service": "leexi",
      "name": "get_call",
      "description": "Retrieve one Leexi call or meeting by UUID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "uuid": {
            "type": "string",
            "description": "The Leexi UUID for this resource.",
            "format": "uuid"
          }
        },
        "additionalProperties": false,
        "description": "The input payload for retrieving one Leexi call."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "call": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "description": "The Leexi UUID for this resource.",
                "format": "uuid"
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The string value returned by Leexi."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The string value returned by Leexi."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "source": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The string value returned by Leexi."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "sourceId": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The string value returned by Leexi."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "locale": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The string value returned by Leexi."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "direction": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The string value returned by Leexi."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "duration": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "The call duration in seconds when returned by Leexi."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "performedAt": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The ISO 8601 timestamp returned by Leexi."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "createdAt": {
                "type": "string",
                "description": "An ISO 8601 timestamp returned by Leexi."
              },
              "updatedAt": {
                "type": "string",
                "description": "An ISO 8601 timestamp returned by Leexi."
              },
              "isVideo": {
                "anyOf": [
                  {
                    "type": "boolean",
                    "description": "Whether the call is a video call."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "visible": {
                "anyOf": [
                  {
                    "type": "boolean",
                    "description": "Whether the call is visible in the workspace."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "leexiUrl": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The string value returned by Leexi."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "recordingUrl": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The string value returned by Leexi."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "transcriptUrl": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The string value returned by Leexi."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "simpleTranscript": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The string value returned by Leexi."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "owner": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "uuid": {
                        "type": "string",
                        "description": "The Leexi UUID for this resource.",
                        "format": "uuid"
                      },
                      "name": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The string value returned by Leexi."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "email": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The string value returned by Leexi."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "raw": {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The raw owner object returned by Leexi."
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "uuid",
                      "raw"
                    ],
                    "description": "A Leexi call owner or participant."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "participatingUsers": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "uuid": {
                      "type": "string",
                      "description": "The Leexi UUID for this resource.",
                      "format": "uuid"
                    },
                    "name": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The string value returned by Leexi."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "email": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The string value returned by Leexi."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw owner object returned by Leexi."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "uuid",
                    "raw"
                  ],
                  "description": "A Leexi call owner or participant."
                },
                "description": "The participating Leexi users."
              },
              "customerPhoneNumbers": {
                "type": "array",
                "items": {
                  "type": "string",
                  "description": "One customer phone number."
                },
                "description": "The customer phone numbers attached to the call."
              },
              "customerEmailAddresses": {
                "type": "array",
                "items": {
                  "type": "string",
                  "description": "One customer email address."
                },
                "description": "The customer email addresses attached to the call."
              },
              "conversationType": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "uuid": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The string value returned by Leexi."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "slug": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The string value returned by Leexi."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "active": {
                        "anyOf": [
                          {
                            "type": "boolean",
                            "description": "Whether the conversation type is active."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "raw": {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The raw conversation type object returned by Leexi."
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "raw"
                    ],
                    "description": "The Leexi conversation type linked to a call."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw call object returned by Leexi."
              }
            },
            "additionalProperties": false,
            "required": [
              "uuid",
              "createdAt",
              "updatedAt",
              "raw"
            ],
            "description": "A normalized Leexi call or meeting summary."
          }
        },
        "additionalProperties": false,
        "description": "The response returned when retrieving one Leexi call."
      }
    },
    {
      "id": "leexi.get_call_note",
      "service": "leexi",
      "name": "get_call_note",
      "description": "Retrieve one Leexi call note by UUID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "uuid": {
            "type": "string",
            "description": "The Leexi UUID for this resource.",
            "format": "uuid"
          }
        },
        "additionalProperties": false,
        "description": "The input payload for retrieving one Leexi call note."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "callNote": {
            "type": "object",
            "properties": {
              "uuid": {
                "type": "string",
                "description": "The Leexi UUID for this resource.",
                "format": "uuid"
              },
              "createdAt": {
                "type": "string",
                "description": "An ISO 8601 timestamp returned by Leexi."
              },
              "updatedAt": {
                "type": "string",
                "description": "An ISO 8601 timestamp returned by Leexi."
              },
              "call": {
                "type": "object",
                "properties": {
                  "uuid": {
                    "type": "string",
                    "description": "The Leexi UUID for this resource.",
                    "format": "uuid"
                  },
                  "title": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "The string value returned by Leexi."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "description": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "The string value returned by Leexi."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "source": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "The string value returned by Leexi."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "sourceId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "The string value returned by Leexi."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "locale": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "The string value returned by Leexi."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "direction": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "The string value returned by Leexi."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "duration": {
                    "anyOf": [
                      {
                        "type": "number",
                        "description": "The call duration in seconds when returned by Leexi."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "performedAt": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "The ISO 8601 timestamp returned by Leexi."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "createdAt": {
                    "type": "string",
                    "description": "An ISO 8601 timestamp returned by Leexi."
                  },
                  "updatedAt": {
                    "type": "string",
                    "description": "An ISO 8601 timestamp returned by Leexi."
                  },
                  "isVideo": {
                    "anyOf": [
                      {
                        "type": "boolean",
                        "description": "Whether the call is a video call."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "visible": {
                    "anyOf": [
                      {
                        "type": "boolean",
                        "description": "Whether the call is visible in the workspace."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "leexiUrl": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "The string value returned by Leexi."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "recordingUrl": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "The string value returned by Leexi."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "transcriptUrl": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "The string value returned by Leexi."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "simpleTranscript": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "The string value returned by Leexi."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "owner": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "uuid": {
                            "type": "string",
                            "description": "The Leexi UUID for this resource.",
                            "format": "uuid"
                          },
                          "name": {
                            "anyOf": [
                              {
                                "type": "string",
                                "description": "The string value returned by Leexi."
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "email": {
                            "anyOf": [
                              {
                                "type": "string",
                                "description": "The string value returned by Leexi."
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "raw": {
                            "type": "object",
                            "properties": {},
                            "additionalProperties": true,
                            "description": "The raw owner object returned by Leexi."
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "uuid",
                          "raw"
                        ],
                        "description": "A Leexi call owner or participant."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "participatingUsers": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "uuid": {
                          "type": "string",
                          "description": "The Leexi UUID for this resource.",
                          "format": "uuid"
                        },
                        "name": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The string value returned by Leexi."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "email": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The string value returned by Leexi."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "raw": {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": true,
                          "description": "The raw owner object returned by Leexi."
                        }
                      },
                      "additionalProperties": false,
                      "required": [
                        "uuid",
                        "raw"
                      ],
                      "description": "A Leexi call owner or participant."
                    },
                    "description": "The participating Leexi users."
                  },
                  "customerPhoneNumbers": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "description": "One customer phone number."
                    },
                    "description": "The customer phone numbers attached to the call."
                  },
                  "customerEmailAddresses": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "description": "One customer email address."
                    },
                    "description": "The customer email addresses attached to the call."
                  },
                  "conversationType": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "uuid": {
                            "anyOf": [
                              {
                                "type": "string",
                                "description": "The string value returned by Leexi."
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "slug": {
                            "anyOf": [
                              {
                                "type": "string",
                                "description": "The string value returned by Leexi."
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "active": {
                            "anyOf": [
                              {
                                "type": "boolean",
                                "description": "Whether the conversation type is active."
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "raw": {
                            "type": "object",
                            "properties": {},
                            "additionalProperties": true,
                            "description": "The raw conversation type object returned by Leexi."
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "raw"
                        ],
                        "description": "The Leexi conversation type linked to a call."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "raw": {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "The raw call object returned by Leexi."
                  }
                },
                "additionalProperties": false,
                "required": [
                  "uuid",
                  "createdAt",
                  "updatedAt",
                  "raw"
                ],
                "description": "A normalized Leexi call or meeting summary."
              },
              "prompt": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "uuid": {
                        "type": "string",
                        "description": "The Leexi UUID for this resource.",
                        "format": "uuid"
                      },
                      "title": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The string value returned by Leexi."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "category": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The string value returned by Leexi."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "raw": {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The raw prompt object returned by Leexi."
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "uuid",
                      "raw"
                    ],
                    "description": "The prompt linked to a Leexi call note."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "translations": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "uuid": {
                      "type": "string",
                      "description": "The Leexi UUID for this resource.",
                      "format": "uuid"
                    },
                    "locale": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The string value returned by Leexi."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "text": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The string value returned by Leexi."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "originalText": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The string value returned by Leexi."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "updatedAt": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The ISO 8601 timestamp returned by Leexi."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw translation object returned by Leexi."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "uuid",
                    "raw"
                  ],
                  "description": "A translation attached to a Leexi call note."
                },
                "description": "The translated note variants returned by Leexi."
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw call note object returned by Leexi."
              }
            },
            "additionalProperties": false,
            "required": [
              "uuid",
              "createdAt",
              "updatedAt",
              "call",
              "raw"
            ],
            "description": "A normalized Leexi call note."
          }
        },
        "additionalProperties": false,
        "description": "The response returned when retrieving one Leexi call note."
      }
    },
    {
      "id": "leexi.list_call_notes",
      "service": "leexi",
      "name": "list_call_notes",
      "description": "List call notes for a Leexi call, optionally filtered by prompt UUID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "The 1-based page number to request from Leexi.",
            "default": 1
          },
          "items": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "The number of items to request per page from Leexi.",
            "default": 10
          },
          "callUuid": {
            "type": "string",
            "description": "The Leexi UUID for this resource.",
            "format": "uuid"
          },
          "promptUuid": {
            "type": "string",
            "description": "The Leexi UUID for this resource.",
            "format": "uuid"
          }
        },
        "additionalProperties": false,
        "required": [
          "callUuid"
        ],
        "description": "The input payload for listing Leexi call notes."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "callNotes": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "uuid": {
                  "type": "string",
                  "description": "The Leexi UUID for this resource.",
                  "format": "uuid"
                },
                "createdAt": {
                  "type": "string",
                  "description": "An ISO 8601 timestamp returned by Leexi."
                },
                "updatedAt": {
                  "type": "string",
                  "description": "An ISO 8601 timestamp returned by Leexi."
                },
                "call": {
                  "type": "object",
                  "properties": {
                    "uuid": {
                      "type": "string",
                      "description": "The Leexi UUID for this resource.",
                      "format": "uuid"
                    },
                    "title": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The string value returned by Leexi."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "description": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The string value returned by Leexi."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "source": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The string value returned by Leexi."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The string value returned by Leexi."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "locale": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The string value returned by Leexi."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "direction": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The string value returned by Leexi."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "duration": {
                      "anyOf": [
                        {
                          "type": "number",
                          "description": "The call duration in seconds when returned by Leexi."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "performedAt": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The ISO 8601 timestamp returned by Leexi."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "description": "An ISO 8601 timestamp returned by Leexi."
                    },
                    "updatedAt": {
                      "type": "string",
                      "description": "An ISO 8601 timestamp returned by Leexi."
                    },
                    "isVideo": {
                      "anyOf": [
                        {
                          "type": "boolean",
                          "description": "Whether the call is a video call."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "visible": {
                      "anyOf": [
                        {
                          "type": "boolean",
                          "description": "Whether the call is visible in the workspace."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "leexiUrl": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The string value returned by Leexi."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "recordingUrl": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The string value returned by Leexi."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "transcriptUrl": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The string value returned by Leexi."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "simpleTranscript": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "The string value returned by Leexi."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "owner": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "uuid": {
                              "type": "string",
                              "description": "The Leexi UUID for this resource.",
                              "format": "uuid"
                            },
                            "name": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "description": "The string value returned by Leexi."
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "email": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "description": "The string value returned by Leexi."
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "raw": {
                              "type": "object",
                              "properties": {},
                              "additionalProperties": true,
                              "description": "The raw owner object returned by Leexi."
                            }
                          },
                          "additionalProperties": false,
                          "required": [
                            "uuid",
                            "raw"
                          ],
                          "description": "A Leexi call owner or participant."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "participatingUsers": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "uuid": {
                            "type": "string",
                            "description": "The Leexi UUID for this resource.",
                            "format": "uuid"
                          },
                          "name": {
                            "anyOf": [
                              {
                                "type": "string",
                                "description": "The string value returned by Leexi."
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "email": {
                            "anyOf": [
                              {
                                "type": "string",
                                "description": "The string value returned by Leexi."
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "raw": {
                            "type": "object",
                            "properties": {},
                            "additionalProperties": true,
                            "description": "The raw owner object returned by Leexi."
                          }
                        },
                        "additionalProperties": false,
                        "required": [
                          "uuid",
                          "raw"
                        ],
                        "description": "A Leexi call owner or participant."
                      },
                      "description": "The participating Leexi users."
                    },
                    "customerPhoneNumbers": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "One customer phone number."
                      },
                      "description": "The customer phone numbers attached to the call."
                    },
                    "customerEmailAddresses": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "One customer email address."
                      },
                      "description": "The customer email addresses attached to the call."
                    },
                    "conversationType": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "uuid": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "description": "The string value returned by Leexi."
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "slug": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "description": "The string value returned by Leexi."
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "active": {
                              "anyOf": [
                                {
                                  "type": "boolean",
                                  "description": "Whether the conversation type is active."
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "raw": {
                              "type": "object",
                              "properties": {},
                              "additionalProperties": true,
                              "description": "The raw conversation type object returned by Leexi."
                            }
                          },
                          "additionalProperties": false,
                          "required": [
                            "raw"
                          ],
                          "description": "The Leexi conversation type linked to a call."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "raw": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "The raw call object returned by Leexi."
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "uuid",
                    "createdAt",
                    "updatedAt",
                    "raw"
                  ],
                  "description": "A normalized Leexi call or meeting summary."
                },
                "prompt": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "uuid": {
                          "type": "string",
                          "description": "The Leexi UUID for this resource.",
                          "format": "uuid"
                        },
                        "title": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The string value returned by Leexi."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "category": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The string value returned by Leexi."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "raw": {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": true,
                          "description": "The raw prompt object returned by Leexi."
                        }
                      },
                      "additionalProperties": false,
                      "required": [
                        "uuid",
                        "raw"
                      ],
                      "description": "The prompt linked to a Leexi call note."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "translations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "uuid": {
                        "type": "string",
                        "description": "The Leexi UUID for this resource.",
                        "format": "uuid"
                      },
                      "locale": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The string value returned by Leexi."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "text": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The string value returned by Leexi."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "originalText": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The string value returned by Leexi."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "updatedAt": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The ISO 8601 timestamp returned by Leexi."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "raw": {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The raw translation object returned by Leexi."
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "uuid",
                      "raw"
                    ],
                    "description": "A translation attached to a Leexi call note."
                  },
                  "description": "The translated note variants returned by Leexi."
                },
                "raw": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The raw call note object returned by Leexi."
                }
              },
              "additionalProperties": false,
              "required": [
                "uuid",
                "createdAt",
                "updatedAt",
                "call",
                "raw"
              ],
              "description": "A normalized Leexi call note."
            },
            "description": "The call notes returned by Leexi."
          },
          "pagination": {
            "type": "object",
            "properties": {
              "page": {
                "type": "integer",
                "description": "The current page number."
              },
              "items": {
                "type": "integer",
                "description": "The number of items requested for the current page."
              },
              "count": {
                "type": "integer",
                "description": "The total number of matching items."
              }
            },
            "additionalProperties": false,
            "description": "Pagination metadata returned by Leexi list endpoints."
          }
        },
        "additionalProperties": false,
        "description": "The response returned when listing Leexi call notes."
      }
    },
    {
      "id": "leexi.list_calls",
      "service": "leexi",
      "name": "list_calls",
      "description": "List calls and meetings in the current Leexi workspace with optional filters.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "The 1-based page number to request from Leexi.",
            "default": 1
          },
          "items": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "The number of items to request per page from Leexi.",
            "default": 10
          },
          "order": {
            "type": "string",
            "enum": [
              "created_at desc",
              "created_at asc",
              "performed_at desc",
              "performed_at asc",
              "updated_at desc",
              "updated_at asc"
            ],
            "description": "The call ordering returned by the Leexi list calls endpoint."
          },
          "dateFilter": {
            "type": "string",
            "enum": [
              "created_at",
              "performed_at",
              "updated_at"
            ],
            "description": "The Leexi date field used by from/to filters."
          },
          "from": {
            "type": "string",
            "description": "An ISO 8601 lower bound timestamp for the selected date filter."
          },
          "to": {
            "type": "string",
            "description": "An ISO 8601 upper bound timestamp for the selected date filter."
          },
          "source": {
            "type": "string",
            "description": "The integration slug used to filter calls."
          },
          "sourceIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One integration call id."
            },
            "description": "The integration call ids used to filter results.",
            "minItems": 1
          },
          "ownerUuids": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "The Leexi UUID for this resource.",
              "format": "uuid"
            },
            "description": "The owner user UUIDs used to filter calls.",
            "minItems": 1
          },
          "participatingUserUuids": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "The Leexi UUID for this resource.",
              "format": "uuid"
            },
            "description": "The participant user UUIDs used to filter calls.",
            "minItems": 1
          },
          "customerPhoneNumbers": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One customer phone number."
            },
            "description": "The customer phone numbers used to filter calls.",
            "minItems": 1
          },
          "customerEmailAddresses": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One customer email address."
            },
            "description": "The customer email addresses used to filter calls.",
            "minItems": 1
          },
          "withSimpleTranscript": {
            "type": "boolean",
            "description": "Whether Leexi should include the simpleTranscript string in each call item."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for listing Leexi calls and meetings."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "calls": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "uuid": {
                  "type": "string",
                  "description": "The Leexi UUID for this resource.",
                  "format": "uuid"
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The string value returned by Leexi."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "description": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The string value returned by Leexi."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "source": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The string value returned by Leexi."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "sourceId": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The string value returned by Leexi."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "locale": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The string value returned by Leexi."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "direction": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The string value returned by Leexi."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "duration": {
                  "anyOf": [
                    {
                      "type": "number",
                      "description": "The call duration in seconds when returned by Leexi."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "performedAt": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The ISO 8601 timestamp returned by Leexi."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "createdAt": {
                  "type": "string",
                  "description": "An ISO 8601 timestamp returned by Leexi."
                },
                "updatedAt": {
                  "type": "string",
                  "description": "An ISO 8601 timestamp returned by Leexi."
                },
                "isVideo": {
                  "anyOf": [
                    {
                      "type": "boolean",
                      "description": "Whether the call is a video call."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "visible": {
                  "anyOf": [
                    {
                      "type": "boolean",
                      "description": "Whether the call is visible in the workspace."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "leexiUrl": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The string value returned by Leexi."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "recordingUrl": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The string value returned by Leexi."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "transcriptUrl": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The string value returned by Leexi."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "simpleTranscript": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The string value returned by Leexi."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "owner": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "uuid": {
                          "type": "string",
                          "description": "The Leexi UUID for this resource.",
                          "format": "uuid"
                        },
                        "name": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The string value returned by Leexi."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "email": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The string value returned by Leexi."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "raw": {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": true,
                          "description": "The raw owner object returned by Leexi."
                        }
                      },
                      "additionalProperties": false,
                      "required": [
                        "uuid",
                        "raw"
                      ],
                      "description": "A Leexi call owner or participant."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "participatingUsers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "uuid": {
                        "type": "string",
                        "description": "The Leexi UUID for this resource.",
                        "format": "uuid"
                      },
                      "name": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The string value returned by Leexi."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "email": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The string value returned by Leexi."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "raw": {
                        "type": "object",
                        "properties": {},
                        "additionalProperties": true,
                        "description": "The raw owner object returned by Leexi."
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "uuid",
                      "raw"
                    ],
                    "description": "A Leexi call owner or participant."
                  },
                  "description": "The participating Leexi users."
                },
                "customerPhoneNumbers": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "description": "One customer phone number."
                  },
                  "description": "The customer phone numbers attached to the call."
                },
                "customerEmailAddresses": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "description": "One customer email address."
                  },
                  "description": "The customer email addresses attached to the call."
                },
                "conversationType": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "uuid": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The string value returned by Leexi."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "slug": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The string value returned by Leexi."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "active": {
                          "anyOf": [
                            {
                              "type": "boolean",
                              "description": "Whether the conversation type is active."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "raw": {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": true,
                          "description": "The raw conversation type object returned by Leexi."
                        }
                      },
                      "additionalProperties": false,
                      "required": [
                        "raw"
                      ],
                      "description": "The Leexi conversation type linked to a call."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "raw": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The raw call object returned by Leexi."
                }
              },
              "additionalProperties": false,
              "required": [
                "uuid",
                "createdAt",
                "updatedAt",
                "raw"
              ],
              "description": "A normalized Leexi call or meeting summary."
            },
            "description": "The calls returned by Leexi."
          },
          "pagination": {
            "type": "object",
            "properties": {
              "page": {
                "type": "integer",
                "description": "The current page number."
              },
              "items": {
                "type": "integer",
                "description": "The number of items requested for the current page."
              },
              "count": {
                "type": "integer",
                "description": "The total number of matching items."
              }
            },
            "additionalProperties": false,
            "description": "Pagination metadata returned by Leexi list endpoints."
          }
        },
        "additionalProperties": false,
        "description": "The response returned when listing Leexi calls."
      }
    },
    {
      "id": "leexi.list_teams",
      "service": "leexi",
      "name": "list_teams",
      "description": "List teams in the current Leexi workspace.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "The 1-based page number to request from Leexi.",
            "default": 1
          },
          "items": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "The number of items to request per page from Leexi.",
            "default": 10
          }
        },
        "additionalProperties": false,
        "description": "Shared pagination input accepted by Leexi list endpoints."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "teams": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "uuid": {
                  "type": "string",
                  "description": "The Leexi UUID for this resource.",
                  "format": "uuid"
                },
                "name": {
                  "type": "string",
                  "description": "The team name."
                },
                "active": {
                  "type": "boolean",
                  "description": "Whether the team is active."
                },
                "createdAt": {
                  "type": "string",
                  "description": "An ISO 8601 timestamp returned by Leexi."
                },
                "updatedAt": {
                  "type": "string",
                  "description": "An ISO 8601 timestamp returned by Leexi."
                },
                "raw": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The raw team object returned by Leexi."
                }
              },
              "additionalProperties": false,
              "description": "A Leexi team."
            },
            "description": "The teams returned by Leexi."
          },
          "pagination": {
            "type": "object",
            "properties": {
              "page": {
                "type": "integer",
                "description": "The current page number."
              },
              "items": {
                "type": "integer",
                "description": "The number of items requested for the current page."
              },
              "count": {
                "type": "integer",
                "description": "The total number of matching items."
              }
            },
            "additionalProperties": false,
            "description": "Pagination metadata returned by Leexi list endpoints."
          }
        },
        "additionalProperties": false,
        "description": "The response returned when listing Leexi teams."
      }
    },
    {
      "id": "leexi.list_users",
      "service": "leexi",
      "name": "list_users",
      "description": "List users in the current Leexi workspace.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "The 1-based page number to request from Leexi.",
            "default": 1
          },
          "items": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "The number of items to request per page from Leexi.",
            "default": 10
          }
        },
        "additionalProperties": false,
        "description": "Shared pagination input accepted by Leexi list endpoints."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "users": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "uuid": {
                  "type": "string",
                  "description": "The Leexi UUID for this resource.",
                  "format": "uuid"
                },
                "name": {
                  "type": "string",
                  "description": "The user full name."
                },
                "email": {
                  "type": "string",
                  "description": "The user email address."
                },
                "active": {
                  "type": "boolean",
                  "description": "Whether the user is active."
                },
                "license": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The string value returned by Leexi."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "team": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "uuid": {
                          "type": "string",
                          "description": "The Leexi UUID for this resource.",
                          "format": "uuid"
                        },
                        "name": {
                          "type": "string",
                          "description": "The team name."
                        },
                        "active": {
                          "type": "boolean",
                          "description": "Whether the team is active."
                        },
                        "createdAt": {
                          "type": "string",
                          "description": "An ISO 8601 timestamp returned by Leexi."
                        },
                        "updatedAt": {
                          "type": "string",
                          "description": "An ISO 8601 timestamp returned by Leexi."
                        },
                        "raw": {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": true,
                          "description": "The raw team object returned by Leexi."
                        }
                      },
                      "additionalProperties": false,
                      "description": "A Leexi team."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "createdAt": {
                  "type": "string",
                  "description": "An ISO 8601 timestamp returned by Leexi."
                },
                "updatedAt": {
                  "type": "string",
                  "description": "An ISO 8601 timestamp returned by Leexi."
                },
                "raw": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The raw user object returned by Leexi."
                }
              },
              "additionalProperties": false,
              "required": [
                "uuid",
                "name",
                "email",
                "active",
                "createdAt",
                "updatedAt",
                "raw"
              ],
              "description": "A Leexi user."
            },
            "description": "The users returned by Leexi."
          },
          "pagination": {
            "type": "object",
            "properties": {
              "page": {
                "type": "integer",
                "description": "The current page number."
              },
              "items": {
                "type": "integer",
                "description": "The number of items requested for the current page."
              },
              "count": {
                "type": "integer",
                "description": "The total number of matching items."
              }
            },
            "additionalProperties": false,
            "description": "Pagination metadata returned by Leexi list endpoints."
          }
        },
        "additionalProperties": false,
        "description": "The response returned when listing Leexi users."
      }
    }
  ]
}
