midnight-search-compact
Semantically search Compact smart contract code to locate circuit definitions, witness functions, ledger declarations, and best practices for Midnight blockchain development.
Instructions
Semantic search across Compact smart contract code and patterns. Use this to find circuit definitions, witness functions, ledger declarations, and best practices for Midnight smart contracts.
USAGE GUIDANCE: • Call at most 2 times per question - if first search doesn't help, try different keywords • For comprehensive results, combine with midnight-search-docs • Use specific terms like "ledger", "circuit", "witness" for better matches
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural language search query for Compact code | |
| limit | No | Maximum results to return (default: 10) | |
| filter | No | Optional filters |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | Array of search results | |
| totalResults | Yes | Total number of results returned | |
| query | Yes | The search query used | |
| warnings | No | Any warnings about the search |