buildToolsResult method
Builds a tools/list result.
ttlMs and cacheScope describe how long the client may cache this
list; they default to 0 (do not cache) / CacheScope.private.
Implementation
ListToolsResult buildToolsResult({
num ttlMs = 0,
CacheScope cacheScope = CacheScope.private,
}) =>
ListToolsResult(
tools: _tools.values.map((e) => e.tool).toList(),
ttlMs: ttlMs,
cacheScope: cacheScope,
);