{
  "role": "ai-content-marketer",
  "source": "https://aiinthewild.com/ai-employees/ai-content-marketer/",
  "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": "web_search",
      "description": "Search the web and return result titles, links and snippets.",
      "access": "read",
      "approval": false,
      "parameters": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "Search words"
          }
        },
        "required": [
          "query"
        ]
      }
    },
    {
      "name": "get_analytics",
      "description": "Read traffic and conversion figures for pages or campaigns.",
      "access": "read",
      "approval": false,
      "parameters": {
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "description": "Start date"
          },
          "to": {
            "type": "string",
            "description": "End date"
          },
          "filter": {
            "type": "string",
            "description": "Page, channel or campaign"
          }
        },
        "required": [
          "from",
          "to"
        ]
      }
    },
    {
      "name": "create_doc",
      "description": "Create a draft document for the team.",
      "access": "write",
      "approval": false,
      "parameters": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "description": "Title"
          },
          "body": {
            "type": "string",
            "description": "Content"
          }
        },
        "required": [
          "title",
          "body"
        ]
      }
    },
    {
      "name": "schedule_post",
      "description": "Queue a social post for approval.",
      "access": "write",
      "approval": true,
      "parameters": {
        "type": "object",
        "properties": {
          "channel": {
            "type": "string",
            "description": "Channel"
          },
          "text": {
            "type": "string",
            "description": "Post text"
          },
          "when": {
            "type": "string",
            "description": "Proposed time"
          }
        },
        "required": [
          "channel",
          "text",
          "when"
        ]
      }
    }
  ]
}