return undefined;
}
if (value.type === 'scalar') {
value = parseCommaSeparatedList(value);
}
const tools: string[] = [];
for (const item of value.items) {
if (item.type === 'scalar' && item.value) {
tools.push(item.value);
}
}
return tools;
}
return undefined;
}