get_access_key
Retrieve the access key from environment variables for secure interaction with the Bybit API. Simplify authentication and ensure smooth data access for trading activities.
Instructions
Get access key from environment variables
:return: Access key
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/server.py:44-51 (handler)The handler function for the 'get_access_key' tool, decorated with @mcp.tool() for registration. It simply returns the value of the ACCESS_KEY environment variable.@mcp.tool() def get_access_key( ) -> str: """ Get access key from environment variables :return: Access key """ return os.getenv("ACCESS_KEY")