Trouble calling Claude Opus 4.5 using Claude: Converse

I’ve modified the Claude: Converse script to replace the default inputs section of the script with:

// default inputs
const model = “claude-opus-4-5-20251101”
const maxTokens = 4096
const chatResponsePrefix = “> "
const ignoreLinePrefixes = [”#", “–”, “//”] // skip lines with these prefixes
const initialText = editor.getText().trim()

However, I’m only getting Claude 4 Sonnet (claude-sonnet-4-20250514). I’ve removed and re-added my API key and my Anthropic Console confirms I have access to Opus 4.5.

Any ideas why I can’t get Claude Opus 4.5 in Drafts?

Why do you say you are only getting Claude 4? Are you inspecting the response object values?

The current version of that action just uses the most recent of the known models, and I’m getting 4.5 for that when I use it.

What do you get if you run this action that lists known models for your API key?

If you install the default version of the Converse action that always uses the most recent model, what are you getting?

Hi Greg. Thanks for the quick response.

(1) When I run the action script, all of the current models are listed for my API key, so that checks out.

(2) I had modified the script because I was trying to force Drafts to use Opus 4.5.

(3) Why? I started down the path because I had asked a question that couldn’t be answered because the model in use didn’t have knowledge of a topic that Opus would have known about. (I did not inspect the response object values, but I don’t know how to do that). What I did was … I asked the following and got the reply below.

What model are you?

I’m Claude, made by Anthropic. Specifically, I’m Claude 4 Sonnet (claude-sonnet-4-20250514).

This was a ham-fisted way of checking the model, but it was what I thought to do at the time.