Codebuff

research-restaurant

v0.0.5
Published Sep 29, 2025

Usage Statistics
v0.0.5

Definition

const agentDefinition = {
id: "research-restaurant",
displayName: "Research Restaurant",
publisher: "tanzeela",
version: "0.0.5",
model: "x-ai/grok-4-fast",
toolNames: [],
spawnableAgents: [],
inputSchema: {
params: {
type: "object",
properties: {
dietaryRestrictions: {
type: "array",
items: {
type: "string"
},
default: [
"gluten-free",
"dairy-free",
"pescatarian"
],
description: "List of dietary restrictions to check for (e.g., [\"gluten-free\", \"dairy-free\", \"pescatarian\"])"
}
}
},
prompt: {
type: "string",
description: "Restaurant name to research"
}
},
includeMessageHistory: true,
outputMode: "last_message",
spawnerPrompt: `Provide a restaurant to research`,
systemPrompt: ``,
instructionsPrompt: `
Use the Exa MCP to figure out if this restaurant has menu items that meet the specified dietary restrictions.
The dietary restrictions are provided in params.dietaryRestrictions as an array of strings.
If the restaurant has suitable menu items, provide the result in the following format:
1. Restaurant name
2. Specific menu items that meet ALL of the dietary restrictions from params.dietaryRestrictions
3. 10-20 word description of the vibe of the restaurant
4. Clickable URL link to menu of the restaurant, not just the restaurant's website.
`,
stepPrompt: ``,
mcpServers: {
exa: {
url: "https://mcp.exa.ai/mcp",
type: "http",
params: {},
headers: {}
}
}
}