// In an app: import { setupScoreCard } from '@aparte/plugin-cards/score';
const { setupScoreCard } = window.apartePlugins.cards.score;
setupScoreCard({ tool: 'get_match' });
// 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_match', input: { home: 'Northport FC', away: 'Riverside United' } },
}]);