productboard-mcp
Version:
Integrate the Productboard API into agentic workflows via MCP
21 lines (20 loc) • 686 B
JavaScript
import productboardClient from "../productboard_client.js";
const getComponentDetailTool = {
"name": "get_component_detail",
"description": "Returns detailed information about a specific component",
"inputSchema": {
"type": "object",
"properties": {
"componentId": {
"type": "string",
"description": "ID of the component to retrieve"
}
},
"required": ["componentId"]
}
};
const getComponentDetail = async (request) => {
const endpoint = `/components/${request.componentId}`;
return productboardClient.get(endpoint);
};
export { getComponentDetailTool, getComponentDetail };