Type for `totalSupply` of `CdpWalletActionProvider_deploy_token`
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 815
- Avg merge
- 13h 31m
- Merged PRs (30d)
- 2
Description
### Language Implementation
- [ ] Python
- [x] TypeScript
### Feature Type
- [x] Action Provider Template
- [ ] Wallet Provider Template
- [ ] Framework Extension
- [ ] Core Requirements
- [ ] Other
### 🚀 The feature, motivation and pitch
At [this line](https://github.com/coinbase/agentkit/blob/main/typescript/agentkit/src/action-providers/cdp/schemas.ts#L55), we are defining `totalSupply` as a custom type.
When using list tool, it returns that
```
Tool: CdpWalletActionProvider_deploy_token, Input Schema: {"type":"object","properties":{"name":{"type":"string","description":"The name of the token"},"symbol":{"type":"string","description":"The token symbol"},"totalSupply":{"description":"The total supply of tokens to mint"}},"required":["name","symbol"],"additionalProperties":false,"description":"Instructions for deploying a token","$schema":"http://json-schema.org/draft-07/schema#"}
```
We can see that `totalSupply` does not have an explicit type. This works with OpenAI API, but with some others, like `llama.cpp`, we met error of parsing.
Could we have a way to return type for this parameter?
### Alternatives
_No response_
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.