云提供商
Connect your Railway workspace to give agents visibility into your projects, environments, services, and deployments. Agents can track deploy status, watch service resource usage, and correlate Railway activity with the rest of your infrastructure.

连接

从终端连接Railway。传入--help查看Railway接受的标志,在无头环境中再加上--no-browser。

Terminal
polylane cloud connect --provider railway

断开连接

断开连接会停止所有同步和检查,并删除Polylane持有的凭据。 Polylane会移除Railway的API允许它移除的内容。以下内容会保留,直到你自己移除:

  • OAuth grant
Terminal
polylane cloud disconnect <id>

工具

4

智能体可以在线程中执行的操作。

railwayApi
Run a curated Railway GraphQL operation (reads, restarts, redeploys, scaling)
railwayGetLogs
Get runtime logs for a Railway service or deployment
railwayListDeployments
List recent Railway deployments for a project
railwayQueryMetrics
Query CPU, memory, network, and disk metrics for Railway services

支持的资源

8

会出现在你的基础设施图中的资源类型。

Project
Environment
Service
Deployment
Volume
Domain
TCP Proxy
Notification Rule