MCPcopy
hub / github.com/smittix/intercept / update_config

Method update_config

utils/agent_client.py:187–198  ·  view source on GitHub ↗

Update agent configuration. Args: push_enabled: Enable/disable push mode push_interval: Push interval in seconds Returns: Updated config

(self, **kwargs)

Source from the content-addressed store, hash-verified

185 return self._get('/config')
186
187 def update_config(self, **kwargs) -> dict:
188 """
189 Update agent configuration.
190
191 Args:
192 push_enabled: Enable/disable push mode
193 push_interval: Push interval in seconds
194
195 Returns:
196 Updated config
197 """
198 return self._post('/config', kwargs)
199
200 # =========================================================================
201 # Mode Operations

Callers

nothing calls this directly

Calls 1

_postMethod · 0.95

Tested by

no test coverage detected