{
  "role": "ai-executive-assistant",
  "source": "https://aiinthewild.com/ai-employees/ai-executive-assistant/",
  "note": "Tool definitions in JSON Schema. Wire each one to your own systems. Functions marked approval: true should only create drafts or requests for a person to approve.",
  "functions": [
    {
      "name": "search_mail",
      "description": "Search the mailbox.",
      "access": "read",
      "approval": false,
      "parameters": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "Search words"
          }
        },
        "required": [
          "query"
        ]
      }
    },
    {
      "name": "list_events",
      "description": "List calendar events in a date range.",
      "access": "read",
      "approval": false,
      "parameters": {
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "description": "Start"
          },
          "to": {
            "type": "string",
            "description": "End"
          }
        },
        "required": [
          "from",
          "to"
        ]
      }
    },
    {
      "name": "draft_reply",
      "description": "Save a reply as a draft.",
      "access": "write",
      "approval": true,
      "parameters": {
        "type": "object",
        "properties": {
          "thread_id": {
            "type": "string",
            "description": "Email thread"
          },
          "body": {
            "type": "string",
            "description": "Text"
          }
        },
        "required": [
          "thread_id",
          "body"
        ]
      }
    },
    {
      "name": "add_task",
      "description": "Add a follow-up to the task list.",
      "access": "write",
      "approval": false,
      "parameters": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "description": "What and for whom"
          },
          "due": {
            "type": "string",
            "description": "Due date"
          }
        },
        "required": [
          "title"
        ]
      }
    }
  ]
}