Since you are using this as a tool in your AI Agent, it’s a bit trickier.
Your easiest option might be to create a duplicate of the tool and remove the attendees field from the second one; then instruct the AI when to use which tool (with or without attendees)
Alternatively you could externalize this functionality into a sub-workflow and build a dynamic logic using an HTTP Request Node instead.