ask_vincent
Get yes/no answers to questions from Vincent, a persona who provides responses in his distinctive style.
Instructions
Ask Vincent something and get a yes/no answer.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| question | Yes | The question to ask Vincent |
Implementation Reference
- src/index.ts:52-74 (handler)Handler logic for the 'ask_vincent' tool: validates the question input and returns a random 'yes' or 'no' response.if (name === "ask_vincent") { const question = args?.question; if (typeof question !== "string") { throw new McpError( ErrorCode.InvalidParams, "Question must be a string" ); } // Random yes/no answer like in the Python version const answer = Math.random() < 0.5 ? "yes, that's a good idea!" : "no! hell no!"; return { content: [ { type: "text", text: answer, }, ], }; }
- src/index.ts:31-44 (registration)Registration of the 'ask_vincent' tool in the ListTools response, including name, description, and input schema.{ name: "ask_vincent", description: "Ask Vincent something and get a yes/no answer.", inputSchema: { type: "object", properties: { question: { type: "string", description: "The question to ask Vincent", }, }, required: ["question"], }, },
- src/index.ts:34-43 (schema)Input schema definition for the 'ask_vincent' tool, specifying the required 'question' string parameter.inputSchema: { type: "object", properties: { question: { type: "string", description: "The question to ask Vincent", }, }, required: ["question"], },