{
  "role": "ai-it-helpdesk",
  "source": "https://aiinthewild.com/ai-employees/ai-it-helpdesk/",
  "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_kb",
      "description": "Search the IT knowledge base.",
      "access": "read",
      "approval": false,
      "parameters": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "Question"
          }
        },
        "required": [
          "query"
        ]
      }
    },
    {
      "name": "create_ticket",
      "description": "Open or update an IT ticket.",
      "access": "write",
      "approval": false,
      "parameters": {
        "type": "object",
        "properties": {
          "summary": {
            "type": "string",
            "description": "Problem"
          },
          "details": {
            "type": "string",
            "description": "Details and steps tried"
          }
        },
        "required": [
          "summary",
          "details"
        ]
      }
    },
    {
      "name": "request_access",
      "description": "File an access request for an approver to decide.",
      "access": "write",
      "approval": true,
      "parameters": {
        "type": "object",
        "properties": {
          "user": {
            "type": "string",
            "description": "Who needs access"
          },
          "system": {
            "type": "string",
            "description": "Which system"
          },
          "reason": {
            "type": "string",
            "description": "Why"
          }
        },
        "required": [
          "user",
          "system",
          "reason"
        ]
      }
    }
  ]
}