Get a project
GetProjectOne project in full: services (state, health, image, the ports it listens on, volumes, environment, the SSH command), volumes, routes, hosts with certificates, recent operations, snapshots, the last day's HTTP traffic. Env-file values and a database's password (Project.database.connection) only with include_secret_values. Its files: ReadPath.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "GetProject"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | The workspace: its id or name (ListWorkspaces). Omit when the account has one. | |
| project_id | No | ||
| incidents_before | No | Only incidents that opened before it: the oldest open_time seen, to page back. Absent = the newest. | |
| snapshots_before | No | Only older snapshots: the oldest create_time seen, to page back. Absent = the newest. | |
| snapshots_volume | No | Only snapshots holding this volume (Volume.snapshot_count). Empty = all. | |
| uptime_day_count | No | ≤90: Project.uptime_days. 0 = none. | |
| incidents_before_id | No | With incidents_before: the incident_id of the oldest seen, so that those that opened at the same time are not skipped. | |
| include_secret_values | No | True = include env-file values (EnvironmentVariable.secret) and a database's password (Project.database.connection). To edit .env: ReadPath /.env. |