云提供商
Connect your PlanetScale organization to give agents visibility into your databases and branches. Agents can track schema changes, monitor branch state, and correlate database activity with the rest of your infrastructure.

连接

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

Terminal
polylane cloud connect --provider planetscale

断开连接

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

  • OAuth grant
Terminal
polylane cloud disconnect <id>

工具

2

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

planetscaleApi
Call any PlanetScale REST API endpoint that lacks a dedicated tool
planetscaleGetQueryInsights
Get PlanetScale Query Insights for a database branch: top queries, query errors, or latency anomalies

支持的资源

2

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

Database
Database Branch