Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| run | Execute Pylpex code and return the result. Pylpex is a custom programming language. Before executing code:
Args: code: Valid Pylpex source code to execute Returns: The evaluated result of the code execution Example usage: run("2 + 2") # Returns: 4 run("function double(x) { return x * 2 } double(5)") # Returns: 10 |
| tokenize | Convert Pylpex code into tokens for analysis. Args: code: Valid Pylpex source code to tokenize Returns: List of tokens with their types, values, and positions |
| get_variables | Get all variables in the current interpreter state. |
| reset | Reset the interpreter state. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| get_documentation | Pylpex language documentation and syntax guide |
| get_examples | Collection of working Pylpex code examples |