> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-update-reference-docs-40.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a handle to the Call object during execution

> Access the W&B Weave `Call` object at runtime for feedback, display names, and other metadata

This guide shows how to get a handle to the Weave `Call` object while your code runs, so you can inspect inputs and outputs, update metadata, or attach feedback at runtime. It's intended for developers who already use Weave Ops and want to interact with the underlying `Call` object programmatically.

When you use an Op in Weave, you can call it directly as you would any function:

<CodeGroup>
  ```python Python lines theme={null}
  @weave.op
  def my_op():
      ...

  my_op()
  ```

  ```typescript twoslash Typescript lines theme={null}
  // @noErrors
  function myFunction() {
      ...
  }

  const myFunctionOp = weave.op(myFunction)
  ```
</CodeGroup>

To access the `Call` object directly, invoke the `op.call` method, which returns both the result and the `Call` object:

<Tabs>
  <Tab title="Python">
    ```python lines theme={null}
    @weave.op
    def my_op():
    ...

    output, call = my_op.call()
    ```

    The `call` object contains all the information about the `Call`, including the inputs, outputs, and other metadata. Use `call` to set, update, fetch additional properties, or add feedback.

    If your Op is a method on a class, pass the class instance as the first argument to `call`:

    ```python lines theme={null}
    import weave

    # Initialize Weave Tracing
    weave.init("intro-example")

    class MyClass:
        # Decorate your method
        @weave.op
        def my_method(self, name: str):
            return f"Hello, {name}!"

    instance = MyClass()

    # Pass `instance` as the first argument to `call`.
    result, call = instance.my_method.call(instance, "World")
    ```
  </Tab>

  <Tab title="TypeScript">
    ```text theme={null}
    This feature is not available in the TypeScript SDK yet.
    ```
  </Tab>
</Tabs>
