mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 08:14:25 +08:00
update json schema description of mcp tool
This commit is contained in:
@@ -33,8 +33,8 @@ type MCPAddTransactionRequest struct {
|
||||
|
||||
// MCPAddTransactionResponse represents the response structure for add transaction
|
||||
type MCPAddTransactionResponse struct {
|
||||
Success bool `json:"success" jsonschema_description:"Indicates whether the transaction was added successfully"`
|
||||
DryRun bool `json:"dry_run,omitempty" jsonschema_description:"Indicates whether this is a dry run (transaction not saved actually)"`
|
||||
Success bool `json:"success" jsonschema_description:"Indicates whether this operation is successful"`
|
||||
DryRun bool `json:"dry_run,omitempty" jsonschema_description:"Indicates whether this operation is a dry run (transaction not saved actually)"`
|
||||
AccountBalance string `json:"account_balance,omitempty" jsonschema_description:"Account balance (or outstanding balance for debt accounts) after the transaction"`
|
||||
DestinationAccountBalance string `json:"destination_account_balance,omitempty" jsonschema_description:"Destination account balance (or outstanding balance for debt accounts) after the transaction (only for transfer transactions)"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user