create_transaction
Record a transaction (cash flow) on a company: a buy (equity purchase or fund capital call), SAFE, sell, or distribution. Amounts are positive, in the company's currency unless you pass another. Target an existing company by slug, pass a domain to find or create the company, or pass just a name to create one with no website. Recording a transaction on a pipeline pitch converts it into an active portfolio position. To turn a SAFE into stock, use convert_safe.
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": {
"type": "<type>",
"amount": "<amount>"
},
"name": "create_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ISO 8601 date (YYYY-MM-DD). Defaults to today. | |
| name | No | On its own, with no company or domain: creates a new portfolio company by this name, for a holding with no website on file. Refused if you already have a company by that name; record on it by slug instead. With a domain, names a company the domain creates (defaulting to one derived from the domain), and is ignored when the domain already matches one of your companies, except a fund manager's with investment_type fund_lp, where it names the fund: an existing one by that name, or a new one filed under the manager. | |
| qsbs | No | Qualified Small Business Stock under Section 1202. Buys and SAFEs only. | |
| type | Yes | The cash-flow type. buy covers equity purchases and fund capital calls. | |
| amount | Yes | Amount actually paid, positive. Direction comes from type, not sign. | |
| domain | No | Alternative to company: the company's website domain. Matches your existing company by domain, or creates a new portfolio company from it. | |
| entity | No | Investing entity id (from list_entities). Defaults to the entity the company was first transacted under, or your default entity. | |
| shares | No | Shares bought or sold, for equity transactions. | |
| company | No | Company or pitch to record on, by slug (from list_companies / list_pitches / search_companies). | |
| currency | No | ISO 4217 code the amount, price, valuation and cap are in (EUR, GBP, CHF…), as the deal was done; don't convert. Defaults to the company's currency. On a company with no currency of its own and nothing recorded yet (no transactions, marks, metrics or round economics), this sets the company's currency; otherwise a transaction in another currency keeps its own. | |
| pro_rata | No | This cheque came with a right to invest in later rounds. Buys and SAFEs only. | |
| custodian | No | Where the shares are held: carta, angellist, pulley, or other. | |
| valuation_cap | No | Valuation cap, for SAFEs. Also records a valuation mark on the company. | |
| investment_type | No | What kind of position this is, when the call creates it (from a domain or name, or by promoting a pitch): equity (direct, the default), fund_lp (an LP stake in a fund; a domain names the fund manager, and the fund is filed under it, so another fund from a manager already on file takes its domain plus the fund's name), or spv. A company that's already a position keeps its type, and naming a different one is refused; correct it with update_company. | |
| price_per_share | No | Price per share. Derived from amount / shares when omitted. | |
| post_money_valuation | No | The round's post-money valuation, if known. |