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

Function _counter_canvas

python/e2e/test_canvas_e2e.py:50–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48
49
50def _counter_canvas() -> CanvasDeclaration:
51 return CanvasDeclaration(
52 id="counter",
53 display_name="Counter",
54 description="A simple counter canvas for e2e testing",
55 input_schema={
56 "type": "object",
57 "properties": {"startValue": {"type": "number"}},
58 },
59 actions=[
60 CanvasAction(
61 name="increment",
62 description="Increment the counter",
63 input_schema={
64 "type": "object",
65 "properties": {"amount": {"type": "number"}},
66 },
67 )
68 ],
69 )
70
71
72async def _create_counter_session(

Callers 1

_create_counter_sessionFunction · 0.85

Calls 2

CanvasDeclarationClass · 0.90
CanvasActionClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…