List Code Locations
list_code_locationsLists all Dagster code locations with their load statuses and repositories to verify deployments or diagnose loading errors.
Instructions
List all code locations and their load status.
Returns per location: name, loadStatus (LOADED/LOADING), and either the repositories within it or a PythonError if loading failed.
When to use: after a deployment to verify code locations loaded correctly, or when get_instance_status reports code location errors. If a location failed to load, use reload_code_location to retry.
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": "list_code_locations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |