Connections · stop 3 of 12

get_current_context

Says which connection and database the session is using.

Works in read modeTool sets: query · dba · meta · full

You might ask

“Which database are you looking at right now?”

Your assistant may call get_current_context to answer.

How it works

  • Returns the active profile, database and access mode.

Parameters

None. Call it as it is.

What your assistant reads

The description nexql-mcp sends with the tool. It's how the assistant decides when to use it.

Return the active profile, database, and access mode.