# Sonar Pro API in Cline is responding but not acting as an agent — is tool-calling supported?

**URL:** <https://community.perplexity.ai/t/sonar-pro-api-in-cline-is-responding-but-not-acting-as-an-agent-is-tool-calling-supported/2028>\
**Category:** General\
**Created:** [October 13, 2025, 1:07pm UTC](https://community.perplexity.ai/t/sonar-pro-api-in-cline-is-responding-but-not-acting-as-an-agent-is-tool-calling-supported/2028 "2025-10-13T13:07:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cvaliente](https://sea1.discourse-cdn.com/flex001/user_avatar/community.perplexity.ai/cvaliente/32/1355_2.png) [@cvaliente](https://community.perplexity.ai/u/cvaliente)\
**Post date:** [October 13, 2025, 1:07pm UTC](https://community.perplexity.ai/t/sonar-pro-api-in-cline-is-responding-but-not-acting-as-an-agent-is-tool-calling-supported/2028/1 "2025-10-13T13:07:34Z")

</div>

I’m trying to use Sonar Pro in VSCode through the _Cline_ extension, but the experience is very poor. It responds with an explanation, and when I ask it to execute or apply the changes, it just repeats the same response without actually modifying any files. It gets stuck in a loop instead of behaving like an autonomous coding agent.

With Claude 3.7 Sonnet the exact same workflow works fine, so I assume it’s either a configuration issue or a limitation on the Sonar Pro side.

**Expected behavior:**  
– It should apply changes directly to files instead of just repeating instructions.  
– It should act as an agent and not require manual confirmation every time.  
– It should avoid response loops and actually perform actions.

**Key question:**  
👉 _Does the Sonar Pro API support tool-calling / agent-style actions, or is it only exposed as a standard chat completions endpoint?_  
If it’s chat-only, Cline might not be able to trigger file editing actions like it does with Claude.

**Environment:**

- Cline v3.32.7

- VSCode Version: 1.104.0

- Electron: 37.3.1 (Build ID: 12342881)

- Chromium: 138.0.7204.235

- Node.js: 22.18.0

- V8: 13.8.258.31-electron.0

- OS: Linux x64 6.14.0-33-generic

Has anyone managed to get Sonar Pro working as a proper agent via API key in Cline? Any specific configuration or flags to enable agent capabilities?
