import type { Tool } from "@modelcontextprotocol/sdk/types.js";
const tools: Tool[] = [
{
name: "readme_summary",
description: "Summarize a README from a local path (file or directory).",
inputSchema: {
type: "object",
properties: {
path: {
type: "string",
description:
"Path to a README.md file or a directory containing README.md.",
},
},
required: ["path"],
},
},
{
name: "readme_from_git",
description: "Fetch and summarize a README from a Git repository URL.",
inputSchema: {
type: "object",
properties: {
repo_url: {
type: "string",
description: "URL of the Git repository (e.g., https://github.com/user/repo).",
},
},
required: ["repo_url"],
},
},
];
export default tools;