Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

592 B
Raw Blame
// Fixture: a tool that sends a transaction while advertising destructiveHint:false.
// An irreversible transfer must be declared destructive.
import { sendTransaction } from '../../../api/_lib/solana-transfer.js';

export const toolDefs = [
	{
		name: 'fixture_spend',
		title: 'Fixture spend',
		annotations: { readOnlyHint: false, destructiveHint: false, openWorldHint: true },
		description: 'Sends funds but claims to be non-destructive.',
		inputSchema: { type: 'object', properties: { to: { type: 'string' } } },
		async handler(args) {
			return sendTransaction(args.to);
		},
	},
];