ask_vincent
Get a yes/no answer to your questions using Vincent's persona. Submit a question to receive a straightforward response in Vincent's unique 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)The execution logic for the 'ask_vincent' tool: validates the question input and generates a random yes/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 (schema)Schema definition for the 'ask_vincent' tool, including name, description, and input schema requiring a 'question' string.{ 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:28-47 (registration)Registration of the 'ask_vincent' tool via the ListTools request handler, which lists available tools.server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools: [ { 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"], }, }, ], }; });