set_context
Update the active PostgreSQL database or schema without reconnecting. Omit a parameter to keep it unchanged, enabling quick context switches for queries.
Instructions
Update the active PostgreSQL database and/or schema without reconnecting.
Args: database: Set the active database. Omit to leave unchanged. schema: Set the active schema. Omit to leave unchanged.
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": "set_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | ||
| database | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |