portfolio_status
Check GitHub portfolio repository status to verify existence, element counts, sync status, and configuration details for any GitHub user.
Instructions
Check the status of your GitHub portfolio repository including repository existence, elements count, sync status, and configuration details.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | No | GitHub username to check portfolio for. If not provided, uses the authenticated user's username. |
Implementation Reference
- src/server/tools/PortfolioTools.ts:59-74 (registration)Tool registration, schema, and handler for 'portfolio_status'. Defines the tool name, description, input schema, and handler function that delegates to server.portfolioStatus(username).{ tool: { name: "portfolio_status", description: "Check the status of your GitHub portfolio repository including repository existence, elements count, sync status, and configuration details.", inputSchema: { type: "object", properties: { username: { type: "string", description: "GitHub username to check portfolio for. If not provided, uses the authenticated user's username.", }, }, }, }, handler: (args: PortfolioStatusArgs) => server.portfolioStatus(args?.username) },
- src/server/tools/PortfolioTools.ts:73-73 (handler)The executing handler function for the portfolio_status tool.handler: (args: PortfolioStatusArgs) => server.portfolioStatus(args?.username)
- Type definition for portfolio_status input arguments.interface PortfolioStatusArgs { username?: string; }
- src/server/ServerSetup.ts:68-70 (registration)Registers all portfolio tools, including portfolio_status, via getPortfolioTools.// Portfolio tools (including sync_portfolio with new safety features) this.toolRegistry.registerMany(getPortfolioTools(instance));
- src/server/types.ts:67-67 (schema)Interface definition for the underlying portfolioStatus method called by the handler.portfolioStatus(username?: string): Promise<any>;