MCPcopy Create free account
hub / github.com/github/copilot-sdk / lookup_country

Method lookup_country

python/e2e/test_tools_e2e.py:296–300  ·  view source on GitHub ↗
(invocation: ToolInvocation)

Source from the content-addressed store, hash-verified

294 return ToolResult(text_result_for_llm=f"CITY_{city.upper()}")
295
296 def lookup_country(invocation: ToolInvocation) -> ToolResult:
297 country = (invocation.arguments or {}).get("country", "")
298 if not country_called.done():
299 country_called.set_result(country)
300 return ToolResult(text_result_for_llm=f"COUNTRY_{country.upper()}")
301
302 session = await ctx.client.create_session(
303 on_permission_request=PermissionHandler.approve_all,

Callers

nothing calls this directly

Calls 2

ToolResultClass · 0.90
getMethod · 0.45

Tested by

no test coverage detected