project_info
Retrieve comprehensive details about a Railway project, including status, environments, services, and configurations. Use to assess project setup and optimize infrastructure management.
Instructions
[API] Get detailed information about a specific Railway project
⚡️ Best for: ✓ Viewing project details and status ✓ Checking environments and services ✓ Project configuration review
→ Prerequisites: project_list
→ Next steps: service_list, variable_list
→ Related: project_update, project_delete
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | ID of the project to get information about |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"projectId": {
"description": "ID of the project to get information about",
"type": "string"
}
},
"required": [
"projectId"
],
"type": "object"
}
Implementation Reference
- src/tools/project.tool.ts:46-48 (handler)The main handler function for the 'project_info' tool that fetches detailed project information by calling projectService.getProject(projectId).async ({ projectId }) => { return projectService.getProject(projectId); }
- src/tools/project.tool.ts:43-45 (schema)Zod input schema for the 'project_info' tool, requiring a 'projectId' string parameter.{ projectId: z.string().describe("ID of the project to get information about") },
- src/tools/project.tool.ts:27-49 (registration)Registration of the 'project_info' tool using createTool, including description, schema, and handler. This tool is part of the exported projectTools array.createTool( "project_info", formatToolDescription({ type: 'API', description: "Get detailed information about a specific Railway project", bestFor: [ "Viewing project details and status", "Checking environments and services", "Project configuration review" ], relations: { prerequisites: ["project_list"], nextSteps: ["service_list", "variable_list"], related: ["project_update", "project_delete"] } }), { projectId: z.string().describe("ID of the project to get information about") }, async ({ projectId }) => { return projectService.getProject(projectId); } ),