declaredValue('_meta'); return $value; } /** * @return array */ public function getContent(): array { /** @var array $value */ $value = $this->declaredValue('content'); return $value; } /** * @return bool|null */ public function getIsError(): ?bool { /** @var bool|null $value */ $value = $this->declaredValue('isError'); return $value; } /** * @return \stdClass|mixed|null */ public function getStructuredContent() { /** @var \stdClass|mixed|null $value */ $value = $this->declaredValue('structuredContent'); return $value; } /** * @return string */ public function getToolUseId(): string { /** @var string $value */ $value = $this->declaredValue('toolUseId'); return $value; } /** * @return 'tool_result' */ public function getType(): string { /** @var 'tool_result' $value */ $value = $this->declaredValue('type'); return $value; } }