promptdojo_

Writing a tiny MCP server — registries, dispatch, and the response shape — step 5 of 9

You're registering a send_email tool. It needs two required string arguments: to and subject. The schema below has two blanks — the top-level type discriminator and the required-list.

Blank 1 (the type every MCP input schema uses):

Blank 2 (the list of keys that MUST be present):

read, then continue.