// In an app: import { setupPlaceCard } from '@aparte/plugin-cards/place';
const { setupPlaceCard } = window.apartePlugins.cards.place;
setupPlaceCard({ tool: 'get_place', currencySymbol: '€' });
// The call is still running: the card draws its skeleton, with what the input already says.
document.querySelector('aparte-chat-bubble').setSegments([{
id: 's1', type: 'tool_call', status: 'pending',
toolCall: { id: 'c-s1', name: 'get_place', input: { name: 'Le Comptoir des Halles' } },
}]);