Excluir investimento
delete_equityExclui permanentemente um ativo de investimento do usuário dono (id = id do investimento). Não afeta transações já lançadas ligadas a ele (equityId fica órfão); o histórico de avaliações (EquityValuation) é removido junto via cascade do banco. count retorna 0 se o id não existir ou não pertencer ao usuário (sem erro).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "delete_equity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id do investimento a excluir |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No |