List CASDA foreign keys
casda_list_foreign_keysRetrieve foreign key relationships originating from a specified table in the TAP schema. Use schema and table name inputs to list foreign keys linking to other tables.
Instructions
List TAP_SCHEMA foreign keys that originate from the requested table.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"schema_name": "<schema_name>",
"table_name": "<table_name>"
},
"name": "casda_list_foreign_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | Unqualified TAP table name such as catalogue. | |
| schema_name | Yes | TAP schema name such as ivoa, casda, or AS102. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| provenance | No | ||
| table_name | No | ||
| schema_name | No | ||
| foreign_keys | No |