request_funding tool returns the information needed to add XLM to the agent’s Nebula wallet. On testnet, it provides a Friendbot URL that you can open in a browser or call with a GET request to receive 10,000 free test XLM. On mainnet, it returns the wallet’s Stellar address along with instructions to send funds from a crypto exchange or an existing Stellar account. Use this tool when setting up a new wallet or when the agent needs to prompt a human to top up its balance.
Parameters
request_funding takes no parameters. Pass an empty object {} as the tool input.
Response
"ok" on success.The agent’s Stellar public key (
G…). This is the address to fund.The Stellar network this wallet is on. Either
"testnet" or "mainnet".On testnet: a fully-formed Friendbot URL. Make a GET request to this URL (browser,
On mainnet: always
curl, or any HTTP client) to credit the wallet with free test XLM. On mainnet: always
null. Friendbot does not exist on mainnet.A human-readable funding instruction, suitable for surfacing directly to a user.
Testnet example
Call:data.friendbot_url in a browser or run:
Mainnet example
Response:- Copy
data.addressfrom the response. - Purchase XLM on a crypto exchange (e.g. Coinbase, Kraken, Binance) and withdraw to that address, or send from an existing Stellar wallet.
- Ensure you send at least 1 XLM to meet Stellar’s minimum account activation (base reserve) requirement.
After funding with XLM, you need to open a USDC trustline before the wallet can hold or receive USDC. Visit the Connect page in your Nebula dashboard to open the trustline with one click. This step requires a small XLM balance for the Stellar account reserve.