assist_with_cairo
Analyze, write, and refactor Cairo code and Starknet smart contracts using AI-powered assistance. Understand Starknet's ecosystem and implement best practices for efficient development.
Instructions
Provides assistance with Cairo and Starknet development tasks through AI-powered analysis.
Call this tool when the user's request involves writing, refactoring, implementing from scratch, or completing specific parts (like TODOs) of Cairo code or smart contracts.
The tool analyzes the query and context against Cairo/Starknet best practices and documentation, returning helpful information to generate accurate code or explanations.
This tool should also be called to get a better understanding of Starknet's ecosystem, features, and capacities.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
codeSnippets | No | Optional: Code snippets for context. This will help the tool understand the user's intent and provide more accurate answers. Provide as much relevant code as possible to fit the user's request. | |
history | No | Optional: The preceding conversation history. This can help the tool understand the context of the discussion and provide more accurate answers. | |
query | Yes | The user's question regarding Cairo and Starknet development. Try to be as specific as possible for better results (e.g., 'Using OpenZeppelin to build an ERC20' rather than just 'ERC20'). |