get_identity
Retrieve current Prefect instance identity, API URL, type (cloud or open-source), and user information to determine which environment you are connected to.
Instructions
Get identity and connection information for the current Prefect instance.
Returns API URL, type (cloud/oss), and user information if available. Essential for understanding which Prefect instance you're connected to.
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": "get_identity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | Yes | ||
| success | Yes | ||
| identity | Yes |