diff --git a/README.md b/README.md index fbb2af2e..e6344e54 100644 --- a/README.md +++ b/README.md @@ -541,12 +541,13 @@ end ``` The data contains the following keys: -`method`: the method called, e.g. `ping`, `tools/list`, `tools/call` etc -`tool_name`: the name of the tool called -`prompt_name`: the name of the prompt called -`resource_uri`: the uri of the resource called -`error`: if looking up tools/prompts etc failed, e.g. `tool_not_found` -`duration`: the duration of the call in seconds + +- `method`: the method called, e.g. `ping`, `tools/list`, `tools/call` etc +- `tool_name`: the name of the tool called +- `prompt_name`: the name of the prompt called +- `resource_uri`: the uri of the resource called +- `error`: if looking up tools/prompts etc failed, e.g. `tool_not_found` +- `duration`: the duration of the call in seconds `tool_name`, `prompt_name` and `resource_uri` are only populated if a matching handler is registered. This is to avoid potential issues with metric cardinality